diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-11-16 10:41:06 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-11-16 10:41:06 +0000 |
commit | 4eac890e07087e0727a14ad8d9671a43b87294cc (patch) | |
tree | 0a99b46513f14696c5b1b2b40b760fdedcca560e /libmpdemux/aviheader.h | |
parent | b411278fbb00767b8013604157a43e0203f66f4c (diff) | |
download | mpv-4eac890e07087e0727a14ad8d9671a43b87294cc.tar.bz2 mpv-4eac890e07087e0727a14ad8d9671a43b87294cc.tar.xz |
Try to detect broken files with unaligned chunks.
This patch hopefully makes them playable as long as they have and index without
breaking any other files.
Fixes http://samples.mplayerhq.hu/avi/invalid_unaligned.avi with native demuxer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29913 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/aviheader.h')
-rw-r--r-- | libmpdemux/aviheader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/aviheader.h b/libmpdemux/aviheader.h index a06ef711ac..4074f6bb03 100644 --- a/libmpdemux/aviheader.h +++ b/libmpdemux/aviheader.h @@ -367,6 +367,7 @@ typedef struct { avisuperindex_chunk *suidx; int suidx_size; int isodml; + int warned_unaligned; } avi_priv_t; #define AVI_PRIV ((avi_priv_t*)(demuxer->priv)) |