mirror of https://git.ffmpeg.org/ffmpeg.git
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/
|
* 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)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
av_log(ri->avctx, AV_LOG_ERROR, "Unknown vq code: %d\n", vqid);
|
av_assert2(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue