ituh263dec: use av_assert
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 1 Jul 2012 16:04:08 +0000 (18:04 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 1 Jul 2012 16:04:08 +0000 (18:04 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ituh263dec.c

index 141cb02..16e8e51 100644 (file)
@@ -346,7 +346,7 @@ static void preview_obmc(MpegEncContext *s){
         s->block_index[i]+= 1;
     s->mb_x++;
 
-    assert(s->pict_type == AV_PICTURE_TYPE_P);
+    av_assert2(s->pict_type == AV_PICTURE_TYPE_P);
 
     do{
         if (get_bits1(&s->gb)) {