On Wed, Oct 19, 2011 at 02:51:40PM -0400, compn wrote:
> hello,
> 
> this patch syncs up avcodec.h, thus allowing projects to switch
> between both without running into incompatable libavcodecs.
> 
> in ffmpeg, codec enums that are not supported in libav are defined to
> dummy ids so they dont interfere with compatability.
> 
> please let me know if there are any issues.
> 
> -compn

> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index c2a3098..23bb52c 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -210,9 +210,9 @@ enum CodecID {
>      CODEC_ID_DFA,
>      CODEC_ID_WMV3IMAGE,
>      CODEC_ID_VC1IMAGE,
> -    CODEC_ID_G723_1,
> -    CODEC_ID_G729,
> -    CODEC_ID_UTVIDEO,
> +    CODEC_ID_8SVX_RAW,

this one is also audio codec FYI (and probably a source of inspiration for
that G72x IDs placing)

> +    CODEC_ID_G2M,
> +    CODEC_ID_UTVIDEO = 0x800,
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to