[FFmpeg-cvslog] ituh263dec: use av_assert

Michael Niedermayer git at videolan.org
Sun Jul 1 18:06:47 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jul  1 18:04:08 2012 +0200| [91ce7c21f042edda1add197d9456e69a11a19f05] | committer: Michael Niedermayer

ituh263dec: use av_assert

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=91ce7c21f042edda1add197d9456e69a11a19f05
---

 libavcodec/ituh263dec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c
index 141cb02..16e8e51 100644
--- a/libavcodec/ituh263dec.c
+++ b/libavcodec/ituh263dec.c
@@ -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)) {



More information about the ffmpeg-cvslog mailing list