> On Sep 20, 2016, at 10:18, Carl Eugen Hoyos <ceffm...@gmail.com> wrote: > > 2016-09-20 13:13 GMT+02:00 Rodger Combs <rodger.co...@gmail.com>: >> Some codecs set this in the parser, but not the decoder > >> +#define FILL(name) if(s->name > 0 && avctx->name <= 0) avctx->name = s->name >> + if (avctx->codec_type == AVMEDIA_TYPE_VIDEO) { >> + FILL(field_order); > > How is this a useful macro?
Could also fill dimensions. > > Carl Eugen > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel