reimar
ea47ab2a9f
In all demux_info_add calls change "name" to "title".
...
Currently "name" and "title" are both used at random, this makes it consistent.
"title" was chosen because it is less ambiguous and also the get_meta_title
slave mode command uses that (there is no get_meta_name command).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29330 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-30 13:18:57 +00:00
diego
6e9cbdc104
whitespace cosmetics: Remove all trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
diego
f077569dff
Add standard license header to all files in libmpdemux.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29280 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-08 21:51:13 +00:00
reimar
7f98fc4ad3
Set sh_video->format when parsing aviheader, otherwise it might never
...
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
2007-12-01 14:29:53 +00:00
reimar
429b15b71b
Check wLongsPerEntry before using it.
...
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
2007-09-13 15:18:57 +00:00
reimar
483453ff8b
Fix detection of xan audio. -noidx or -forceidx still is necessary
...
to detect audio at all.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23985 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-01 09:01:28 +00:00
reimar
7cd6c01aca
Simplify: use FFMAX
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23861 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-25 17:31:34 +00:00
reimar
d02f928bc3
Remove some useless "extern" before function prototypes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23860 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-25 17:29:29 +00:00
reimar
8dda469fc0
Use stream_read_qword_le
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23779 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-14 09:01:44 +00:00
nicodvb
dfd0190a6d
with -identify show audio and video id; patch by Andrew Savchenko (Bircoph list ru)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23028 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-20 21:49:49 +00:00
diego
e085bc8dcf
Add explicit location for headers from the stream/ directory.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22623 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 18:36:36 +00:00
reimar
75282a6a83
Sanity-check sh_video->bih->biSize
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21985 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 18:22:07 +00:00
michael
f89822df44
dont read index if -noidx
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21788 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-29 19:01:55 +00:00
reimar
77226f96ba
Replace another MIN macro by FFMIN
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21548 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 12:25:25 +00:00
reimar
15eb8639c6
Move initialization of sh_audio/sh_video members to aviheader
...
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
2006-11-30 17:48:00 +00:00
diego
cac6c0eea2
Remove bswap.h, use libavutil/bswap.h instead.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21388 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 15:02:45 +00:00
diego
a356cbcc01
Remove unused variables, patch by Stefan Huehner stefan at huehner org.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18963 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-08 17:28:36 +00:00
rtogni
9da9317579
Fix potential integer overflows in memory allocation.
...
Patch by Rich and me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18559 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-04 22:41:27 +00:00
iive
37b31c74a8
make sure the indx chunk is big enough to hold the basic structure.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18053 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-06 21:49:12 +00:00
reimar
9641a1433c
use calloc instead of malloc - simplifies code and fixes overflow problems.
...
Path by Bjorn Sandell (biorn at chalmers se)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18052 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-06 20:56:35 +00:00
michael
9ec42a7e3f
zero sized frames are not keyframes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18051 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-06 20:36:39 +00:00
iive
64159b23f8
Limit the number of entires to the amount that does fit into the chunk.
...
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
2006-04-06 20:04:02 +00:00
albeu
42a11b39c9
100L to who wrote this. Also fix broken headers while at it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17991 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-29 19:31:31 +00:00
diego
a33158d60d
Convert printfs in aviprint.c to mp_msg and give the information printing
...
functions in this file a verbosity_level parameter.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17978 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 17:25:41 +00:00
diego
eebf08b978
Convert all if(verbose>X) to mp_msg_test calls.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 08:12:03 +00:00
aurel
f7af77f18a
fix -idx with ODML files (patch by Benjamin Zores < ben _at_ tutuxclan.org >)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17565 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 00:40:35 +00:00
rathann
2601de4120
massive attack: mp_msg printf format fixes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-12 20:04:36 +00:00
reynaldo
8970a281df
libmpdemux translatables to help_mp part 1 / mp_msg calls / try 2
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16883 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-31 23:37:41 +00:00
henry
6844ef92d7
memleak fix by bryanwilkerson WHIRLPOOL yahoo SPOT com
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15739 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 19:04:09 +00:00
michael
81ef1c7db5
switch from DIVX -> FMP4 fourcc for libavcodec
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14767 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-22 20:24:18 +00:00
reimar
e73aadd97b
Use libc qsort to sort ODML index.
...
Based on patch by phillip at phdcam dot com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14298 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-02 14:29:43 +00:00
reimar
a7908eba1b
fix quicksort to avoid stack overflow and extreme runtimes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14288 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-31 16:02:47 +00:00
atmos4
f575dd7ee0
Index-Recovery cosmetix
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13701 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-20 02:13:33 +00:00
atmos4
b9e2410e04
Recover Keyframe-Index for XviD aswell
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13672 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-18 13:16:13 +00:00
rathann
4da367942a
small fixes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13188 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-28 20:56:56 +00:00
ranma
c95475b252
We still need to make sure the upper 16 bits of dwFlags are cleared
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12738 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-30 22:50:56 +00:00
ranma
f6c7658fef
Remove borken index fixup (breaks more than it fixes)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12737 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-30 22:29:23 +00:00
ranma
6839eacc5a
If we don't have a NEWAVIINDEX chunk, but have an OpenDML index,
...
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
2004-06-29 13:10:37 +00:00
ranma
4058e90588
Only use odml index for files that need it
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12363 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-30 20:36:48 +00:00
alex
2681b9cd06
forgot to commit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12343 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-29 06:27:30 +00:00
rfelker
36d9c35547
don't use odml when we don't have to -- the code is buggy!
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12330 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-27 23:08:46 +00:00
ranma
7068c1b886
Use aspect from encoder for AVI vprp header
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12062 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-24 15:16:36 +00:00
ranma
10c153004d
Better vprp aspect fix
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12054 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-22 01:42:43 +00:00
ranma
873b579c1a
OpenDML read/write support
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12037 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-17 14:50:37 +00:00
alex
aba42ce2fe
Saving and loading external index file. Patch by Jason Tackaberry <tack@auc.ca>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11235 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 19:01:37 +00:00
arpi
39fe4d0cd3
verbose can be negative
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-01 17:46:45 +00:00
arpi
062f1005aa
fix bih->biSize for uncompressed files too
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7785 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-17 21:54:51 +00:00
arpi
367860560c
10l - do not read INDEX twice!!!
...
list index even if generated by mplayer (verbose>=2)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7763 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 21:04:19 +00:00
michael
ecb96b13f8
msmpeg4v1 indexing
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6276 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-02 21:35:49 +00:00
arpi
eda0372a8d
playback of 'being downloaded' files
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6275 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-02 21:10:41 +00:00