summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/xvmcvideo.c3
1 files changed, 1 insertions, 2 deletions
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(),
OpenPOWER on IntegriCloud