[FFmpeg-devel] [PATCH] lavc/parser: export field order if not already set
Rodger Combs
rodger.combs at gmail.com
Tue Sep 20 18:29:21 EEST 2016
> On Sep 20, 2016, at 10:18, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>
> 2016-09-20 13:13 GMT+02:00 Rodger Combs <rodger.combs at 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 at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
More information about the ffmpeg-devel
mailing list