mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 07:40:00 +08:00
pass extradata through ffm
Originally committed as revision 13721 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -168,6 +168,10 @@ static int ffm_write_header(AVFormatContext *s)
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
if (codec->flags & CODEC_FLAG_GLOBAL_HEADER) {
|
||||
put_be32(pb, codec->extradata_size);
|
||||
put_buffer(pb, codec->extradata, codec->extradata_size);
|
||||
}
|
||||
}
|
||||
|
||||
/* flush until end of block reached */
|
||||
|
Reference in New Issue
Block a user