diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-11-09 21:16:27 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-10 11:55:58 +0100 |
commit | 492cc1bef3d1b47b576cae8686b196368290ffe6 (patch) | |
tree | eaf3e5e9b4e6178b261a386d774e1a53633b056b /avconv.c | |
parent | dc86ca1ab54c04f15214e6fc023d6dfc627aee34 (diff) | |
download | ffmpeg-492cc1bef3d1b47b576cae8686b196368290ffe6.tar.gz |
avconv: remove some codec-specific hacks
The problem they are supposed to fix is handled in riff.c, so those
hacks are pointless.
Diffstat (limited to 'avconv.c')
-rw-r--r-- | avconv.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -2046,10 +2046,6 @@ static int transcode_init(OutputFile *output_files, codec->frame_size = icodec->frame_size; codec->audio_service_type = icodec->audio_service_type; codec->block_align= icodec->block_align; - if(codec->block_align == 1 && codec->codec_id == CODEC_ID_MP3) - codec->block_align= 0; - if(codec->codec_id == CODEC_ID_AC3) - codec->block_align= 0; break; case AVMEDIA_TYPE_VIDEO: codec->pix_fmt = icodec->pix_fmt; |