[Ffmpeg-cvslog] r8201 - trunk/libavformat/flvenc.c

banan subversion
Sat Mar 3 10:16:38 CET 2007


Author: banan
Date: Sat Mar  3 10:16:38 2007
New Revision: 8201

Modified:
   trunk/libavformat/flvenc.c

Log:
Set FLV_SAMPLESSIZE_16BIT for ADPCM.


Modified: trunk/libavformat/flvenc.c
==============================================================================
--- trunk/libavformat/flvenc.c	(original)
+++ trunk/libavformat/flvenc.c	Sat Mar  3 10:16:38 2007
@@ -91,7 +91,7 @@ static int get_audio_flags(AVCodecContex
         flags |= FLV_CODECID_PCM_LE | FLV_SAMPLESSIZE_16BIT;
         break;
     case CODEC_ID_ADPCM_SWF:
-        flags |= FLV_CODECID_ADPCM;
+        flags |= FLV_CODECID_ADPCM | FLV_SAMPLESSIZE_16BIT;
         break;
     case 0:
         flags |= enc->codec_tag<<4;




More information about the ffmpeg-cvslog mailing list