diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-13 23:54:49 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-13 23:54:49 +0200 |
commit | 4b8e7a14149445bb61a8349278a137e4e61370da (patch) | |
tree | df2c70b70bac30da0b1ab0ef5b394fb13c3c48c0 | |
parent | 2ebacb0fc4449f250d172776c4d3e88914b6f151 (diff) | |
download | ffmpeg-4b8e7a14149445bb61a8349278a137e4e61370da.tar.gz |
avcodec/utils: prettify remap_deprecated_codec_id()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/utils.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 1cb914eb13..d14ab4c60e 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -2675,22 +2675,22 @@ static enum AVCodecID remap_deprecated_codec_id(enum AVCodecID id) //This is for future deprecatec codec ids, its empty since //last major bump but will fill up again over time, please don't remove it // case AV_CODEC_ID_UTVIDEO_DEPRECATED: return AV_CODEC_ID_UTVIDEO; - case AV_CODEC_ID_BRENDER_PIX_DEPRECATED: return AV_CODEC_ID_BRENDER_PIX; - case AV_CODEC_ID_OPUS_DEPRECATED: return AV_CODEC_ID_OPUS; - case AV_CODEC_ID_TAK_DEPRECATED : return AV_CODEC_ID_TAK; - case AV_CODEC_ID_PAF_AUDIO_DEPRECATED : return AV_CODEC_ID_PAF_AUDIO; - case AV_CODEC_ID_PCM_S24LE_PLANAR_DEPRECATED : return AV_CODEC_ID_PCM_S24LE_PLANAR; - case AV_CODEC_ID_PCM_S32LE_PLANAR_DEPRECATED : return AV_CODEC_ID_PCM_S32LE_PLANAR; - case AV_CODEC_ID_ADPCM_VIMA_DEPRECATED : return AV_CODEC_ID_ADPCM_VIMA; - case AV_CODEC_ID_ESCAPE130_DEPRECATED : return AV_CODEC_ID_ESCAPE130; - case AV_CODEC_ID_EXR_DEPRECATED : return AV_CODEC_ID_EXR; - case AV_CODEC_ID_G2M_DEPRECATED : return AV_CODEC_ID_G2M; - case AV_CODEC_ID_PAF_VIDEO_DEPRECATED : return AV_CODEC_ID_PAF_VIDEO; - case AV_CODEC_ID_WEBP_DEPRECATED: return AV_CODEC_ID_WEBP; - case AV_CODEC_ID_HEVC_DEPRECATED: return AV_CODEC_ID_HEVC; - case AV_CODEC_ID_SANM_DEPRECATED: return AV_CODEC_ID_SANM; - case AV_CODEC_ID_VP7_DEPRECATED : return AV_CODEC_ID_VP7; - default : return id; + case AV_CODEC_ID_BRENDER_PIX_DEPRECATED : return AV_CODEC_ID_BRENDER_PIX; + case AV_CODEC_ID_OPUS_DEPRECATED : return AV_CODEC_ID_OPUS; + case AV_CODEC_ID_TAK_DEPRECATED : return AV_CODEC_ID_TAK; + case AV_CODEC_ID_PAF_AUDIO_DEPRECATED : return AV_CODEC_ID_PAF_AUDIO; + case AV_CODEC_ID_PCM_S24LE_PLANAR_DEPRECATED : return AV_CODEC_ID_PCM_S24LE_PLANAR; + case AV_CODEC_ID_PCM_S32LE_PLANAR_DEPRECATED : return AV_CODEC_ID_PCM_S32LE_PLANAR; + case AV_CODEC_ID_ADPCM_VIMA_DEPRECATED : return AV_CODEC_ID_ADPCM_VIMA; + case AV_CODEC_ID_ESCAPE130_DEPRECATED : return AV_CODEC_ID_ESCAPE130; + case AV_CODEC_ID_EXR_DEPRECATED : return AV_CODEC_ID_EXR; + case AV_CODEC_ID_G2M_DEPRECATED : return AV_CODEC_ID_G2M; + case AV_CODEC_ID_PAF_VIDEO_DEPRECATED : return AV_CODEC_ID_PAF_VIDEO; + case AV_CODEC_ID_WEBP_DEPRECATED : return AV_CODEC_ID_WEBP; + case AV_CODEC_ID_HEVC_DEPRECATED : return AV_CODEC_ID_HEVC; + case AV_CODEC_ID_SANM_DEPRECATED : return AV_CODEC_ID_SANM; + case AV_CODEC_ID_VP7_DEPRECATED : return AV_CODEC_ID_VP7; + default : return id; } } |