aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux/aviheader.c
Commit message (Collapse)AuthorAge
* Mark some functions staticGravatar Uoti Urpala2008-04-23
| | | | | | These functions aren't used outside their file and have no prototype in any header. Based on a forgotten patch from 2006 by Stefan Huehner, (stefan huehner org).
* Set sh_video->format when parsing aviheader, otherwise it might neverGravatar reimar2007-12-01
| | | | | | | be set correctly when using demux_demuxers (like with ogg stream in AVI). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25229 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check wLongsPerEntry before using it.Gravatar reimar2007-09-13
| | | | | | | | | | This fixes a potential crash for some values of it. As a side effect it works around broken callocs with an integer overflow vulnerability, but using MPlayer on such systems should never be assumed to be safe! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24447 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix detection of xan audio. -noidx or -forceidx still is necessaryGravatar reimar2007-08-01
| | | | | | | to detect audio at all. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23985 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify: use FFMAXGravatar reimar2007-07-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23861 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some useless "extern" before function prototypesGravatar reimar2007-07-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23860 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use stream_read_qword_leGravatar reimar2007-07-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23779 b3059339-0415-0410-9bf9-f77b7e298cf2
* with -identify show audio and video id; patch by Andrew Savchenko (Bircoph ↵Gravatar nicodvb2007-04-20
| | | | | | list ru) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23028 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explicit location for headers from the stream/ directory.Gravatar diego2007-03-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22623 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sanity-check sh_video->bih->biSizeGravatar reimar2007-01-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21985 b3059339-0415-0410-9bf9-f77b7e298cf2
* dont read index if -noidxGravatar michael2006-12-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21788 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace another MIN macro by FFMINGravatar reimar2006-12-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21548 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move initialization of sh_audio/sh_video members to aviheaderGravatar reimar2006-11-30
| | | | | | | | 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 bswap.h, use libavutil/bswap.h instead.Gravatar diego2006-11-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21388 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variables, patch by Stefan Huehner stefan at huehner org.Gravatar diego2006-07-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18963 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential integer overflows in memory allocation.Gravatar rtogni2006-06-04
| | | | | | | Patch by Rich and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18559 b3059339-0415-0410-9bf9-f77b7e298cf2
* make sure the indx chunk is big enough to hold the basic structure.Gravatar iive2006-04-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18053 b3059339-0415-0410-9bf9-f77b7e298cf2
* use calloc instead of malloc - simplifies code and fixes overflow problems.Gravatar reimar2006-04-06
| | | | | | | Path by Bjorn Sandell (biorn at chalmers se) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18052 b3059339-0415-0410-9bf9-f77b7e298cf2
* zero sized frames are not keyframesGravatar michael2006-04-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18051 b3059339-0415-0410-9bf9-f77b7e298cf2
* Limit the number of entires to the amount that does fit into the chunk.Gravatar iive2006-04-06
| | | | | | | the function need rewrite as it assumes quite many things that are not guaranteed by the specifications. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18050 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100L to who wrote this. Also fix broken headers while at it.Gravatar albeu2006-03-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17991 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert printfs in aviprint.c to mp_msg and give the information printingGravatar diego2006-03-27
| | | | | | | functions in this file a verbosity_level parameter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17978 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert all if(verbose>X) to mp_msg_test calls.Gravatar diego2006-03-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix -idx with ODML files (patch by Benjamin Zores < ben _at_ tutuxclan.org >)Gravatar aurel2006-02-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17565 b3059339-0415-0410-9bf9-f77b7e298cf2
* massive attack: mp_msg printf format fixesGravatar rathann2006-01-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
* libmpdemux translatables to help_mp part 1 / mp_msg calls / try 2Gravatar reynaldo2005-10-31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16883 b3059339-0415-0410-9bf9-f77b7e298cf2
* memleak fix by bryanwilkerson WHIRLPOOL yahoo SPOT comGravatar henry2005-06-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15739 b3059339-0415-0410-9bf9-f77b7e298cf2
* switch from DIVX -> FMP4 fourcc for libavcodecGravatar michael2005-02-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14767 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use libc qsort to sort ODML index.Gravatar reimar2005-01-02
| | | | | | | Based on patch by phillip at phdcam dot com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14298 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix quicksort to avoid stack overflow and extreme runtimesGravatar reimar2004-12-31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14288 b3059339-0415-0410-9bf9-f77b7e298cf2
* Index-Recovery cosmetixGravatar atmos42004-10-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13701 b3059339-0415-0410-9bf9-f77b7e298cf2
* Recover Keyframe-Index for XviD aswellGravatar atmos42004-10-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13672 b3059339-0415-0410-9bf9-f77b7e298cf2
* small fixesGravatar rathann2004-08-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13188 b3059339-0415-0410-9bf9-f77b7e298cf2
* We still need to make sure the upper 16 bits of dwFlags are clearedGravatar ranma2004-06-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12738 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove borken index fixup (breaks more than it fixes)Gravatar ranma2004-06-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12737 b3059339-0415-0410-9bf9-f77b7e298cf2
* If we don't have a NEWAVIINDEX chunk, but have an OpenDML index,Gravatar ranma2004-06-29
| | | | | | | | use it even if there is no AVIX RIFF-Chunk. (See also <40D2E910.2000708@comcast.net> "Non-seeking OpenDML AVI") git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12729 b3059339-0415-0410-9bf9-f77b7e298cf2
* Only use odml index for files that need itGravatar ranma2004-04-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12363 b3059339-0415-0410-9bf9-f77b7e298cf2
* forgot to commitGravatar alex2004-04-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12343 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't use odml when we don't have to -- the code is buggy!Gravatar rfelker2004-04-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12330 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use aspect from encoder for AVI vprp headerGravatar ranma2004-03-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12062 b3059339-0415-0410-9bf9-f77b7e298cf2
* Better vprp aspect fixGravatar ranma2004-03-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12054 b3059339-0415-0410-9bf9-f77b7e298cf2
* OpenDML read/write supportGravatar ranma2004-03-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12037 b3059339-0415-0410-9bf9-f77b7e298cf2
* Saving and loading external index file. Patch by Jason Tackaberry <tack@auc.ca>Gravatar alex2003-10-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11235 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativeGravatar arpi2002-11-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix bih->biSize for uncompressed files tooGravatar arpi2002-10-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7785 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l - do not read INDEX twice!!!Gravatar arpi2002-10-16
| | | | | | | list index even if generated by mplayer (verbose>=2) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7763 b3059339-0415-0410-9bf9-f77b7e298cf2
* msmpeg4v1 indexingGravatar michael2002-06-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6276 b3059339-0415-0410-9bf9-f77b7e298cf2
* playback of 'being downloaded' filesGravatar arpi2002-06-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6275 b3059339-0415-0410-9bf9-f77b7e298cf2
* big cosmetics patch, cleanup of messages printed by mplayer and libs.Gravatar arpi2002-05-20
| | | | | | | | some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2 mplayer's output is now shorter, readable and consistent git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6139 b3059339-0415-0410-9bf9-f77b7e298cf2
* big (>2GB) AVI files support - patch by Wolfram Gloger <wg@malloc.de>Gravatar arpi2002-05-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6057 b3059339-0415-0410-9bf9-f77b7e298cf2