mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-16 12:24:52 +00:00
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
This commit is contained in:
parent
2ed421134e
commit
73f184936d
@ -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…
Reference in New Issue
Block a user