[FFmpeg-devel] [PATCH 3/3] lavc: remove Libav ABI compat hacks

Nicolas George george at nsup.org
Sat Sep 5 19:21:28 CEST 2015


Le nonidi 19 fructidor, an CCXXIII, wm4 a écrit :
> ---
> I bet this fixes some bugs, because some code compares codec IDs with
> AV_CODEC_ID_FIRST_AUDIO numerically!
> ---
>  libavcodec/avcodec.h | 150 +++++++++++++++++++++++++--------------------------
>  libavcodec/utils.c   |   6 ---
>  2 files changed, 75 insertions(+), 81 deletions(-)

And so, what happens when libav introduces a new codec id with a value that
conflicts?

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150905/ef3eb3c2/attachment.sig>


More information about the ffmpeg-devel mailing list