Le nonidi 19 nivôse, an CCXXIII, Michael Niedermayer a écrit :
> + { "default"   , ... { .i64 = AV_DISPOSITION_DEFAULT }, ...
> + { "dub"       , ... { .i64 = AV_DISPOSITION_DUB     }, ...
> + { "original"  , ... { .i64 = AV_DISPOSITION_ORIGINAL}, ...
<snip>

That makes the third copy of this flag↔string table in the code base: it is
probably time to make it available through the API. Something like:

    const char *av_disposition_get_name(unsigned disposition);

Then the option table in this patch can be built on the fly.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to