roqvideodec: replace dead code by assert

Fixes CID732195
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-10-19 03:15:06 +02:00
parent c0b17ea106
commit a06f943f9d

View File

@ -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);
}
}