PR #25976 opened by unlord
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25976
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25976.patch

Enables playback of Opus in AVI


>From d65c7a88fea511c46182dd64ed21ce217ea66cf8 Mon Sep 17 00:00:00 2001
From: "Nathan E. Egge" <[email protected]>
Date: Tue, 27 Oct 2026 17:54:07 -0400
Subject: [PATCH] riff: Add Opus FourCC as 0x704F

---
 libavformat/riff.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/riff.c b/libavformat/riff.c
index 50c14ecb661..d804db6a915 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -614,6 +614,7 @@ const AVCodecTag ff_codec_wav_tags[] = {
     { AV_CODEC_ID_SPEEX,           0xA109 },
     { AV_CODEC_ID_G728,            0xCD02 },
     { AV_CODEC_ID_FLAC,            0xF1AC },
+    { AV_CODEC_ID_OPUS,            0x704F },
     /* DFPWM does not have an assigned format tag; it uses a GUID in 
WAVEFORMATEX instead */
     { AV_CODEC_ID_DFPWM,           0xFFFE },
     { AV_CODEC_ID_ADPCM_SWF,       ('S' << 8) + 'F' },
-- 
2.54.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to