diff flvdec.c @ 3061:8ae0431d7f43 libavformat

flv/swf do not have a big endian codec id, they only support little endian and native endian.
author michael
date Sun, 24 Feb 2008 00:57:15 +0000
parents c8185d08d339
children 9a56dcf7edfb
line wrap: on
line diff
--- a/flvdec.c	Sat Feb 23 23:30:41 2008 +0000
+++ b/flvdec.c	Sun Feb 24 00:57:15 2008 +0000
@@ -41,7 +41,7 @@
     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;