Browse Source

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
tags/v0.5
Gwenole Beauchesne Benoit Fouet 17 years ago
parent
commit
73f184936d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/h263.c

+ 1
- 1
libavcodec/h263.c View File

@@ -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);


Loading…
Cancel
Save