mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibMedia: Remove default cases when converting CodecID for FFmpeg
This forces us to keep at least that conversion switch statement up-to-date.
This commit is contained in:
parent
efa9311527
commit
7434c763d5
Notes:
github-actions[bot]
2025-09-19 11:02:03 +00:00
Author: https://github.com/Zaggy1024
Commit: 7434c763d5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6238
Reviewed-by: https://github.com/gmta ✅
1 changed files with 2 additions and 1 deletions
|
|
@ -41,9 +41,10 @@ static inline AVCodecID ffmpeg_codec_id_from_media_codec_id(CodecID codec)
|
|||
return AV_CODEC_ID_VORBIS;
|
||||
case CodecID::Opus:
|
||||
return AV_CODEC_ID_OPUS;
|
||||
default:
|
||||
case CodecID::Unknown:
|
||||
return AV_CODEC_ID_NONE;
|
||||
}
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
||||
static inline CodecID media_codec_id_from_ffmpeg_codec_id(AVCodecID codec)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue