You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/speedhqenc: Use av_unreachable() for unreachable condition
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -27,6 +27,7 @@
|
||||
* SpeedHQ encoder.
|
||||
*/
|
||||
|
||||
#include "libavutil/avassert.h"
|
||||
#include "libavutil/thread.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
@ -259,7 +260,7 @@ static av_cold int speedhq_encode_init(AVCodecContext *avctx)
|
||||
avctx->codec_tag = MKTAG('S','H','Q','4');
|
||||
break;
|
||||
default:
|
||||
av_assert0(0);
|
||||
av_unreachable("Already checked via CODEC_PIXFMTS");
|
||||
}
|
||||
|
||||
m->encode_picture_header = speedhq_encode_picture_header;
|
||||
|
Reference in New Issue
Block a user