mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +00:00
roqvideodec: replace dead code by assert
Fixes CID732195 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c0b17ea106
commit
a06f943f9d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user