On 04/12/14 19:28, Vittorio Giovara wrote:
--- libavformat/utils.c | 2 ++ 1 file changed, 2 insertions(+)diff --git a/libavformat/utils.c b/libavformat/utils.c index 3ea0ebd..5115339 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2235,6 +2235,8 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options) break; } } + /* Get the NAL from the parser and copy it to extradata. + * Used for example to get extradata from h264 in mp4. */ if (st->parser && st->parser->parser->split && !st->codec->extradata) { int i = st->parser->parser->split(st->codec, pkt->data, pkt->size); if (i > 0 && i < FF_MAX_EXTRADATA_SIZE) {
Sure, why not. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
