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

Matthieu Bouron matthieu.bouron at gmail.com
Wed Oct 19 12:18:19 EEST 2016


On Mon, Mar 07, 2016 at 11:59:38AM +0000, Carl Eugen Hoyos wrote:
> 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.

Sorry for the delay, are you still OK with the patch ?

Matthieu

[...]


More information about the ffmpeg-devel mailing list