summaryrefslogtreecommitdiff
path: root/libavformat/flvdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-24 00:57:15 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-24 00:57:15 +0000
commit44de39f93c57f3761a00a85dc459decc3fdc1839 (patch)
treec89443136f265b70b3f4c0b4e5a7db07cd3b37fb /libavformat/flvdec.c
parent7bb8d51c1f17823f27e680b70dd18246bf6731ee (diff)
flv/swf do not have a big endian codec id, they only support
little endian and native endian. Originally committed as revision 12183 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/flvdec.c')
-rw-r--r--libavformat/flvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 46270c2e5a..7cd994428d 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -41,7 +41,7 @@ static void flv_set_audio_codec(AVFormatContext *s, AVStream *astream, int flv_c
AVCodecContext *acodec = astream->codec;
switch(flv_codecid) {
//no distinction between S16 and S8 PCM codec flags
- case FLV_CODECID_PCM_BE:
+ case FLV_CODECID_PCM:
acodec->codec_id = acodec->bits_per_sample == 8 ? CODEC_ID_PCM_S8 : CODEC_ID_PCM_S16BE; break;
case FLV_CODECID_PCM_LE:
acodec->codec_id = acodec->bits_per_sample == 8 ? CODEC_ID_PCM_S8 : CODEC_ID_PCM_S16LE; break;