From 2fde8aaebaf57f796c4a72b4c5d4ad8591ea3a77 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Sat, 12 Nov 2005 20:01:23 +0000 Subject: [PATCH] support transcoding adpcm Originally committed as revision 4689 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/flvenc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index d998f5962..5d448a1b4 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; -- 2.34.1