changeset 6226:7b81ef3e7d99 libavformat

Disable dshow specific bug emulation for amv files as they arent demuxed by ms dshows buggy demuxer normally.
author michael
date Fri, 02 Jul 2010 23:39:02 +0000
parents b8a6ed04da91
children 78ee17447ff3
files avidec.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/avidec.c	Fri Jul 02 23:33:10 2010 +0000
+++ b/avidec.c	Fri Jul 02 23:39:02 2010 +0000
@@ -593,8 +593,10 @@
                         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;