From 73f184936def7ac93cca93bcbb7f205707ed2fdb Mon Sep 17 00:00:00 2001
From: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Date: Fri, 30 Jan 2009 08:18:06 +0000
Subject: [PATCH] =?UTF-8?q?Use=20a=20constant=20instead=20of=20a=20magic?=
 =?UTF-8?q?=20number.=20Patch=20by=20Gwenol=C3=A9=20Beauchesne:=20gbeauche?=
 =?UTF-8?q?sne=20splitted=20minus=20desktop=20com?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Originally committed as revision 16856 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/h263.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index 7733417c760..396a69eafce 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);
-- 
GitLab