mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
fftools/ffmpeg_enc: use av_unreachable instead of av_assert0(0) at the end of a non-void function
Fixes compilation with gcc-tsan and --disable-optimizations Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -728,7 +728,7 @@ static int encode_frame(OutputFile *of, OutputStream *ost, AVFrame *frame,
|
||||
}
|
||||
}
|
||||
|
||||
av_assert0(0);
|
||||
av_unreachable("encode_frame() loop should return");
|
||||
}
|
||||
|
||||
static enum AVPictureType forced_kf_apply(void *logctx, KeyframeForceCtx *kf,
|
||||
|
||||
Reference in New Issue
Block a user