Commit a06f943f authored by Michael Niedermayer's avatar Michael Niedermayer

roqvideodec: replace dead code by assert

Fixes CID732195
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c0b17ea1
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
* http://www.csse.monash.edu.au/~timf/ * http://www.csse.monash.edu.au/~timf/
*/ */
#include "libavutil/avassert.h"
#include "avcodec.h" #include "avcodec.h"
#include "bytestream.h" #include "bytestream.h"
#include "roqvideo.h" #include "roqvideo.h"
...@@ -149,7 +150,7 @@ static void roqvideo_decode_frame(RoqContext *ri) ...@@ -149,7 +150,7 @@ static void roqvideo_decode_frame(RoqContext *ri)
} }
break; break;
default: default:
av_log(ri->avctx, AV_LOG_ERROR, "Unknown vq code: %d\n", vqid); av_assert2(0);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment