[SCM] libav/experimental: using av_abort

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:37:51 UTC 2013


The following commit has been merged in the experimental branch:
commit 6cbff2f44a76b916756b76c9eb478afc927ea240
Author: Alex Beregszaszi <alex at rtfs.hu>
Date:   Sat Oct 11 17:48:49 2003 +0000

    using av_abort
    
    Originally committed as revision 2360 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/xvmcvideo.c b/libavcodec/xvmcvideo.c
index 9c43202..b13135b 100644
--- a/libavcodec/xvmcvideo.c
+++ b/libavcodec/xvmcvideo.c
@@ -120,8 +120,7 @@ const int mb_xy = s->mb_y * s->mb_stride + s->mb_x;
 
     if(s->encoding){
         fprintf(stderr,"XVMC doesn't support encoding!!!\n");
-        assert(0);
-        return;
+	av_abort();
     }
 
    //from MPV_decode_mb(),

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list