[FFmpeg-cvslog] r24012 - trunk/libavformat/avidec.c

michael subversion
Sat Jul 3 01:39:02 CEST 2010


Author: michael
Date: Sat Jul  3 01:39:02 2010
New Revision: 24012

Log:
Disable dshow specific bug emulation for amv files as they arent
demuxed by ms dshows buggy demuxer normally.

Modified:
   trunk/libavformat/avidec.c

Modified: trunk/libavformat/avidec.c
==============================================================================
--- trunk/libavformat/avidec.c	Sat Jul  3 01:33:10 2010	(r24011)
+++ trunk/libavformat/avidec.c	Sat Jul  3 01:39:02 2010	(r24012)
@@ -593,8 +593,10 @@ static int avi_read_header(AVFormatConte
                         st->codec->codec_id  = CODEC_ID_XAN_DPCM;
                         st->codec->codec_tag = 0;
                     }
-                    if (amv_file_format)
+                    if (amv_file_format){
                         st->codec->codec_id  = CODEC_ID_ADPCM_IMA_AMV;
+                        ast->dshow_block_align = 0;
+                    }
                     break;
                 default:
                     st->codec->codec_type = AVMEDIA_TYPE_DATA;



More information about the ffmpeg-cvslog mailing list