[FFmpeg-cvslog] avformat/pcmdec: audio/L16 should be in network byte order by default (rfc 2586)
Igor Derzhavin
git at videolan.org
Sun Nov 25 01:27:40 EET 2018
ffmpeg | branch: master | Igor Derzhavin <igor.derzhavin at gmail.com> | Thu Nov 22 10:39:57 2018 +0300| [b058617fae201f204f7b36bde3fb95795d52c279] | committer: Carl Eugen Hoyos
avformat/pcmdec: audio/L16 should be in network byte order by default (rfc 2586)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b058617fae201f204f7b36bde3fb95795d52c279
---
libavformat/pcmdec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/pcmdec.c b/libavformat/pcmdec.c
index 0d146a46a0..8530dbc1e3 100644
--- a/libavformat/pcmdec.c
+++ b/libavformat/pcmdec.c
@@ -142,10 +142,10 @@ PCMDEF(s24le, "PCM signed 24-bit little-endian",
NULL, AV_CODEC_ID_PCM_S24LE)
PCMDEF(s16be, "PCM signed 16-bit big-endian",
- AV_NE("sw", NULL), AV_CODEC_ID_PCM_S16BE)
+ AV_NE("sw", NULL), AV_CODEC_ID_PCM_S16BE, .mime_type = "audio/L16")
PCMDEF(s16le, "PCM signed 16-bit little-endian",
- AV_NE(NULL, "sw"), AV_CODEC_ID_PCM_S16LE, .mime_type = "audio/L16",)
+ AV_NE(NULL, "sw"), AV_CODEC_ID_PCM_S16LE)
PCMDEF(s8, "PCM signed 8-bit",
"sb", AV_CODEC_ID_PCM_S8)
More information about the ffmpeg-cvslog
mailing list