Commit f45706cf authored by diego's avatar diego

Fix wrong flags for S16LE and S16BE audio in FLV files.

patch by Allan Hsu, allan counterpop net


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7194 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 18b53214
......@@ -65,10 +65,10 @@ static int get_audio_flags(AVCodecContext *enc){
case CODEC_ID_PCM_S8:
break;
case CODEC_ID_PCM_S16BE:
flags |= 0x60 | 0x2;
flags |= 0x2;
break;
case CODEC_ID_PCM_S16LE:
flags |= 0x2;
flags |= 0x30 | 0x2;
break;
case CODEC_ID_ADPCM_SWF:
flags |= 0x10;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment