> On Sep 20, 2016, at 10:18, Carl Eugen Hoyos <[email protected]> wrote:
> 
> 2016-09-20 13:13 GMT+02:00 Rodger Combs <[email protected]>:
>> 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
> [email protected]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to