summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorIvan Kalvachev <ikalvachev@gmail.com>2004-03-04 14:58:48 +0000
committerIvan Kalvachev <ikalvachev@gmail.com>2004-03-04 14:58:48 +0000
commit494c56d36fd2556175550a951857793ced4970ac (patch)
tree430bb84dd7791910115fe46d5aed3e5a3d9bea02 /libavcodec/mpeg12.c
parent399cec2f3e7e5d817ce20d3f83383f25e23e02d4 (diff)
silence warnings
Originally committed as revision 2843 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 60241ec155..07fddd568b 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -1306,7 +1306,7 @@ static int mpeg_decode_mb(MpegEncContext *s,
if (HAS_CBP(mb_type)) {
cbp = get_vlc2(&s->gb, mb_pat_vlc.table, MB_PAT_VLC_BITS, 1);
- if (cbp < 0 || (cbp == 0) && (s->chroma_format < 2) ){
+ if (cbp < 0 || ((cbp == 0) && (s->chroma_format < 2)) ){
av_log(s->avctx, AV_LOG_ERROR, "invalid cbp at %d %d\n", s->mb_x, s->mb_y);
return -1;
}