aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-19 03:15:06 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-19 03:15:06 +0200
commita06f943f9d65a2e80536ee9e99d86e855c8ca8da (patch)
tree9fee2c5a3f47545d43f348da332c81ff6f0be115 /libavcodec
parentc0b17ea106b94f79255f81ec36ea50096e1ae985 (diff)
downloadffmpeg-a06f943f9d65a2e80536ee9e99d86e855c8ca8da.tar.gz
roqvideodec: replace dead code by assert
Fixes CID732195 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/roqvideodec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/roqvideodec.c b/libavcodec/roqvideodec.c
index a6f213c4de..08e644e77c 100644
--- a/libavcodec/roqvideodec.c
+++ b/libavcodec/roqvideodec.c
@@ -25,6 +25,7 @@
* http://www.csse.monash.edu.au/~timf/
*/
+#include "libavutil/avassert.h"
#include "avcodec.h"
#include "bytestream.h"
#include "roqvideo.h"
@@ -149,7 +150,7 @@ static void roqvideo_decode_frame(RoqContext *ri)
}
break;
default:
- av_log(ri->avctx, AV_LOG_ERROR, "Unknown vq code: %d\n", vqid);
+ av_assert2(0);
}
}