[FFmpeg-devel] [PATCH] lavf/img2dec: disable parsing if frame_size is specified

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Mar 7 12:59:38 CET 2016


Matthieu Bouron <matthieu.bouron <at> gmail.com> writes:

>      else {
>          s->is_pipe       = 1;
> -        st->need_parsing = AVSTREAM_PARSE_FULL;
> +        st->need_parsing = s->frame_size > 0 ? AVSTREAM_PARSE_NONE 
> : AVSTREAM_PARSE_FULL;

Makes sense imo.

Carl Eugen



More information about the ffmpeg-devel mailing list