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:
James Almer
2025-12-22 22:19:01 -03:00
parent 9e974b2c45
commit 2678482c10

View File

@@ -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,