summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_avi.c
Commit message (Collapse)AuthorAgeFilesLines
* Add explicit location for headers from the stream/ directory.diego2007-03-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22623 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support some weird AVI header, fixes bug 742reimar2007-02-061-0/+3
| | | | | | | (http://samples.mplayerhq.hu/avi/samsung_crap_bug742.avi) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22166 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l confused FFMIN/FFMAXreimar2006-12-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21422 b3059339-0415-0410-9bf9-f77b7e298cf2
* Proper fix for last demux_avi commit, stream switching now really shouldreimar2006-12-011-8/+9
| | | | | | | not hang anymore git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21421 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure we do not hang if no streams are availablereimar2006-12-011-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21420 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement stream switching for AVI demuxer.reimar2006-12-011-0/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21419 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move initialization of sh_audio/sh_video members to aviheaderreimar2006-11-301-10/+0
| | | | | | | | where possible so that all a_streams[]/v_streams[] are initialized and switching becomes simpler. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21403 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove duplicate message, the same info is printed anyway.diego2006-11-121-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20863 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix an obvious typo.eugeni2006-11-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20716 b3059339-0415-0410-9bf9-f77b7e298cf2
* better wording for "workarounding"kraymer2006-11-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20712 b3059339-0415-0410-9bf9-f77b7e298cf2
* MSGTRs for demux_avi.ckraymer2006-11-051-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20711 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow lowercase letters in AVI stream id, fixes bug #277reimar2006-10-231-7/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20416 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid crash after "AVI: No audio stream found -> no sound." message,reimar2006-10-211-2/+2
| | | | | | | audio was not correctly disabled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20343 b3059339-0415-0410-9bf9-f77b7e298cf2
* as anounced, just some cleaning, purely janitorial changesreynaldo2006-10-151-81/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20252 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix calculation of stream sizes when they are too big for a 32-bit variablepacman2006-05-061-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18394 b3059339-0415-0410-9bf9-f77b7e298cf2
* dwStart support for mplayer.corey2006-02-181-0/+6
| | | | | | | | | | | | | | | | | | | * demux_avi sets stream_delay according to dwStart * mplayer adjusts audio_delay according to stream_delay 3 related patches are pending, and I will apply them over the next few days if all goes well. As I mentioned on -dev-eng, the funny indentation is in preparation for one of those pending patches. See: Date: Fri, 17 Feb 2006 00:53:28 -0800 To: mplayer-dev-eng@mplayerhq.hu Subject: [PATCH] bframes, dwStart: individual patches git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17644 b3059339-0415-0410-9bf9-f77b7e298cf2
* Second-try commit of this patch.corey2006-02-171-4/+5
| | | | | | | | | | | | 1. Include audio_delay as an argument to demux_seek. 2. Modify demux_seek_avi to adjust the audio/video stream positions so that mplayer/mencoder will instantly be in sync even when -delay is specified. I've quadruple checked this time; hopefully I haven't missed anything. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17637 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reverse commit of unfinished patch for passing audio_delay to the demuxers.corey2006-02-091-5/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17570 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1. Include audio_delay as an argument to demux_seek.corey2006-02-071-4/+5
| | | | | | | | | | | 2. Modify demux_seek_avi to adjust the audio/video stream positions so that mplayer/mencoder will instantly be in sync even when -delay is specified. Other demuxers could be modified similarly in the future. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17554 b3059339-0415-0410-9bf9-f77b7e298cf2
* massive attack: mp_msg printf format fixesrathann2006-01-121-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix crash if no video codec availablereimar2006-01-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17343 b3059339-0415-0410-9bf9-f77b7e298cf2
* move resync_audio_stream after seeking to demuxer.creimar2005-10-301-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16878 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid duplicated messages from demux_avi.c and demuxer.c.diego2005-09-131-10/+0
| | | | | | | patch by Luca Barbato < lu_zero -- at -- gentoo -- at -- org > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16477 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make -identify's 'ID_LENGTH=' print a float and not an integer.. Theods152005-09-021-1/+1
| | | | | | | | accuracey may be totally fake for some demuxers (mpg), but accurate for others.. (avi) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16347 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l: fix avi demuxing for ni and nini cases, allow forcing ni and ninirtognimp2005-08-131-0/+39
| | | | | | | demuxers git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16212 b3059339-0415-0410-9bf9-f77b7e298cf2
* demux_avi_control() missing in avi's demuxer struct.ods152005-08-111-2/+2
| | | | | | | patch by Uoti Urpala (urpala BANG cc MEEP helsinki MEEP fi) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16200 b3059339-0415-0410-9bf9-f77b7e298cf2
* Demuxer modularizationrtognimp2005-08-051-2/+72
| | | | | | | Demuxer selection by name with -demuxer command (bakward compatible) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move generic length and percent pos calculation to demuxer.creimar2005-01-151-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14503 b3059339-0415-0410-9bf9-f77b7e298cf2
* OpenDML read/write supportranma2004-03-171-6/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12037 b3059339-0415-0410-9bf9-f77b7e298cf2
* Seek in HTTP streams and stdin seek fixesrtognimp2004-03-131-1/+1
| | | | | | | Patch by eviv bulgroz <ebulgroz(at)yahoo(dot)com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12019 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable seeking in http streamsattila2004-02-171-3/+3
| | | | | | | patch by Valentine Zaretsky <valik+mplayerdev@email.dp.ua> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11966 b3059339-0415-0410-9bf9-f77b7e298cf2
* Saving and loading external index file. Patch by Jason Tackaberry <tack@auc.ca>alex2003-10-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11235 b3059339-0415-0410-9bf9-f77b7e298cf2
* printing fps with 3 dec digit instead of 2arpi2003-08-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10710 b3059339-0415-0410-9bf9-f77b7e298cf2
* - ignore movi_end if reading from stdinarpi2003-02-021-6/+6
| | | | | | | - assume I-only stream if no index (buggy seekable avi is still better than non-seekable) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9229 b3059339-0415-0410-9bf9-f77b7e298cf2
* upsz :))))))))))))))pontscho2003-01-121-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8927 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed these:arpi2002-12-291-2/+2
| | | | | | | | | - uses video time length instead of audio time length to calculate audio size in fallback - differences in fallback for priv->numberofframes calculation patch by eviv bulgroz <ebulgroz@yahoo.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8647 b3059339-0415-0410-9bf9-f77b7e298cf2
* accurate bitrate calculation using index, and more accurate guessingarpi2002-12-211-14/+52
| | | | | | | | if no index available. based on patch by eviv bulgroz <ebulgroz@yahoo.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8517 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)michael2002-11-231-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
* demuxer_control(), percent position and time length query implemented inarpi2002-11-161-11/+42
| | | | | | | | asf, avi, mpeg demuxers. patch by Balatoni Denes <pnis@coder.hu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8209 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalarpi2002-11-061-0/+1
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
* workaround old mencoder's cbr-mp3 header bugarpi2002-11-021-1/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8060 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup of .AVI timestamp calculation (ugly hack from mplayer.c removed,arpi2002-11-021-48/+42
| | | | | | | | instead doing it in demux_avi.c, storing private data in priv insteda of demuxer structs) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8031 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix & workaround possible sig8/sig11 in blocksize calculationarpi2002-10-171-2/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7786 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed invalid -aid/-vid segfaultarpi2002-09-251-1/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7502 b3059339-0415-0410-9bf9-f77b7e298cf2
* tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bugarpi2002-09-221-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
* corrects an off-by-one error when trying to seek beyond the end of file.arpi2002-08-141-1/+1
| | | | | | | patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7003 b3059339-0415-0410-9bf9-f77b7e298cf2
* detection of badly interleaved avi files and auto-switch to -niarpi2002-08-041-10/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6885 b3059339-0415-0410-9bf9-f77b7e298cf2
* count blocks by rounded-up chunksizes instead of chunks -arpi2002-08-021-1/+7
| | | | | | | | we need full emulation of dshow avi demuxer bugs :( fixes silly nandub-style a-v delaying in avi with vbr mp3... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6872 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add uninit to the avi demuxeralbeu2002-07-261-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6817 b3059339-0415-0410-9bf9-f77b7e298cf2
* hopefully fixed last A-V sync bug, and also fixed largefile bug in debug printfarpi2002-07-041-3/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6641 b3059339-0415-0410-9bf9-f77b7e298cf2
* big (>2GB) AVI files support - patch by Wolfram Gloger <wg@malloc.de>arpi2002-05-121-14/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6057 b3059339-0415-0410-9bf9-f77b7e298cf2
* ehh. forgot to commit this one...arpi2002-02-121-2/+13
| | | | | | | | - workaround for files with bad index (first chunk absolute, other relative offsets) -> fixes many 'no video stream found' bugreports git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4666 b3059339-0415-0410-9bf9-f77b7e298cf2
* using audio.dwStart too... (for baittest.avi)arpi2001-12-041-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3303 b3059339-0415-0410-9bf9-f77b7e298cf2
* -nobps NaN fixedarpi2001-11-111-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2827 b3059339-0415-0410-9bf9-f77b7e298cf2
* while_encoding.avi (ffmpeg) fix (ignoring movi_ check if end<=start)arpi2001-10-241-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2440 b3059339-0415-0410-9bf9-f77b7e298cf2
* better logic to choose valid info at broken indexarpi2001-10-241-8/+35
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2439 b3059339-0415-0410-9bf9-f77b7e298cf2
* includes cleanuparpi2001-10-211-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2339 b3059339-0415-0410-9bf9-f77b7e298cf2
* AVI - no audio stream fixarpi2001-10-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2331 b3059339-0415-0410-9bf9-f77b7e298cf2
* libdemux cleanup part 1arpi2001-10-201-4/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2315 b3059339-0415-0410-9bf9-f77b7e298cf2
* libdemuxer...arpi2001-10-201-0/+673
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2311 b3059339-0415-0410-9bf9-f77b7e298cf2