aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Derzhavin <igor.derzhavin@gmail.com>2018-11-22 10:39:57 +0300
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-11-25 00:24:58 +0100
commitb058617fae201f204f7b36bde3fb95795d52c279 (patch)
treecbf13a01bdc9683d95d519c8a9a9096745cb3b99
parenta80530a627dee93bec7eaf877dc18e047f0aa22c (diff)
downloadffmpeg-b058617fae201f204f7b36bde3fb95795d52c279.tar.gz
avformat/pcmdec: audio/L16 should be in network byte order by default (rfc 2586)
-rw-r--r--libavformat/pcmdec.c4
1 files 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)