You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/dovi_rpuenc: Use av_unreachable() instead of av_assert0(0)
Reviewed-by: Niklas Haas <ffmpeg@haasn.xyz> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -103,9 +103,7 @@ static av_cold int dovi_configure_ext(DOVIContext *s, enum AVCodecID codec_id,
|
||||
dv_profile = 8;
|
||||
break;
|
||||
default:
|
||||
/* No other encoder should be calling this! */
|
||||
av_assert0(0);
|
||||
return AVERROR_BUG;
|
||||
av_unreachable("ff_dovi_configure only used with AV1, H.264 and HEVC");
|
||||
}
|
||||
|
||||
if (strict_std_compliance > FF_COMPLIANCE_UNOFFICIAL) {
|
||||
|
Reference in New Issue
Block a user