aboutsummaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorAlex Beregszaszi2005-11-12 20:01:23 +0000
committerAlex Beregszaszi2005-11-12 20:01:23 +0000
commit2fde8aaebaf57f796c4a72b4c5d4ad8591ea3a77 (patch)
tree0f2bfcff486d6f27c277c932578685475f8f0483 /libavformat
parentea15df8048783786d5abe7b980e450e7cedce661 (diff)
support transcoding adpcm
Originally committed as revision 4689 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/flvenc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index d998f5962c..5d448a1b49 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;