diff options
author | Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | 2009-01-30 08:18:06 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2009-01-30 08:18:06 +0000 |
commit | 73f184936def7ac93cca93bcbb7f205707ed2fdb (patch) | |
tree | b2d57842bf91de1baedf6dd92a6b04aa9cd0eca7 /libavcodec/h263.c | |
parent | 2ed421134e8fe2674a2943e86c8045e0ab7c2ce5 (diff) | |
download | ffmpeg-streaming-73f184936def7ac93cca93bcbb7f205707ed2fdb.zip ffmpeg-streaming-73f184936def7ac93cca93bcbb7f205707ed2fdb.tar.gz |
Use a constant instead of a magic number.
Patch by Gwenolé Beauchesne: gbeauchesne splitted minus desktop com
Originally committed as revision 16856 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 7733417..396a69e 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -5491,7 +5491,7 @@ static int decode_vol_header(MpegEncContext *s, GetBitContext *gb){ if ((s->vol_control_parameters=get_bits1(gb))) { /* vol control parameter */ int chroma_format= get_bits(gb, 2); - if(chroma_format!=1){ + if(chroma_format!=CHROMA_420){ av_log(s->avctx, AV_LOG_ERROR, "illegal chroma format\n"); } s->low_delay= get_bits1(gb); |