Commit 11337618b2 for ffmpeg
commit 11337618b235c8cfe529e44fe8559d9689024690
Author: Nathan E. Egge <unlord@xiph.org>
Date: Tue Oct 27 17:54:07 2026 -0400
avformat/riff: add official Opus twocc (0x704F)
diff --git a/libavformat/riff.c b/libavformat/riff.c
index 50c14ecb66..d804db6a91 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' },