support transcoding adpcm
authorAlex Beregszaszi <alex@rtfs.hu>
Sat, 12 Nov 2005 20:01:23 +0000 (20:01 +0000)
committerAlex Beregszaszi <alex@rtfs.hu>
Sat, 12 Nov 2005 20:01:23 +0000 (20:01 +0000)
Originally committed as revision 4689 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/flvenc.c

index d998f5962cec19904ce15bf0a9a956a5d487153f..5d448a1b49da8c7082a1cfd71f48a9ca61b9d6b5 100644 (file)
@@ -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;