[FFmpeg-cvslog] avconv: remove some codec-specific hacks
Anton Khirnov
git at videolan.org
Fri Nov 11 02:53:05 CET 2011
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Nov 9 21:16:27 2011 +0100| [492cc1bef3d1b47b576cae8686b196368290ffe6] | committer: Anton Khirnov
avconv: remove some codec-specific hacks
The problem they are supposed to fix is handled in riff.c, so those
hacks are pointless.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=492cc1bef3d1b47b576cae8686b196368290ffe6
---
avconv.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/avconv.c b/avconv.c
index a381fdb..eb7df9a 100644
--- a/avconv.c
+++ b/avconv.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list