Merge commit '9a03c2323593173a201cb75edd1b49887cf811ed'
[ffmpeg.git] / libavcodec / h263dec.c
index e5870faa299d54ab15f8427b5a3459df33714ff4..6a60fbabafaebb160b9a062fa402dfd1456b215f 100644 (file)
@@ -345,7 +345,8 @@ static int decode_slice(MpegEncContext *s)
     }
 
     if (s->workaround_bugs & FF_BUG_AUTODETECT) {
-        if (s->padding_bug_score > -2 && !s->data_partitioning)
+        if (
+            (s->padding_bug_score > -2 && !s->data_partitioning))
             s->workaround_bugs |= FF_BUG_NO_PADDING;
         else
             s->workaround_bugs &= ~FF_BUG_NO_PADDING;