[SCM] libav/experimental: support transcoding adpcm

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:45:25 UTC 2013


The following commit has been merged in the experimental branch:
commit 2fde8aaebaf57f796c4a72b4c5d4ad8591ea3a77
Author: Alex Beregszaszi <alex at rtfs.hu>
Date:   Sat Nov 12 20:01:23 2005 +0000

    support transcoding adpcm
    
    Originally committed as revision 4689 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index d998f59..5d448a1 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -65,6 +65,9 @@ static int get_audio_flags(AVCodecContext *enc){
     case CODEC_ID_PCM_S16LE:
 	flags |= 0x2;
 	break;
+    case CODEC_ID_ADPCM_SWF:
+	flags |= 0x10;
+	break;
     case 0:
         flags |= enc->codec_tag<<4;
         break;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list