Commit Graph

41 Commits

Author SHA1 Message Date
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
reimar c70d547ea6 Compile fix: LE_* -> AV_RL*
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21963 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-19 23:14:57 +00:00
reimar 370c07962b ASF aspect support via metadata reading.
Patch by Zuxy Meng (zuxy meng (at) gmail.com) with some
simplifications by me.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21626 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-15 21:51:20 +00:00
reimar 0639d41ffc Use libavutil LE_* macros instead of pointer casts which can result
in crashes due to missing alignment. Should fix bug #640.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21470 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-03 16:41:55 +00:00
reimar 4a6ad7c674 Unicode support for demuxer info in ASF demuxer.
Patch by Zuxy Meng [zuxy meng <at> gmail com].


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21461 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-03 11:35:11 +00:00
reimar 59e83201dd Try to handle oversized asf headers by ignoring anything beyond the first MB
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20894 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-13 19:16:39 +00:00
nicodvb bd40e0ea1d interpolate real fps of dvr-ms files using the extended stream properties.
Patch by John Donaghy - johnfdonaghy gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19967 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-24 15:19:48 +00:00
uau eb05b22b01 Fix use of uninitialized variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19129 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-17 22:22:34 +00:00
reynaldo d427579f79 marks several read-only string parameters and function return-values which can only be used read-only as const. Patch by Stefan Huehner, stefan _AT huener-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19113 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-16 01:20:30 +00:00
reynaldo 32492483c0 drops casts from void * on malloc/calloc from libmpdemux code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19067 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 16:41:13 +00:00
reimar ee00cceb8b Forgotten free on error
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18813 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-25 14:02:28 +00:00
pacman 2f30f958b0 Fix declaration mixed in among statements in the recent dvr-ms code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18671 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-09 22:33:09 +00:00
pacman 2a8494d031 Patch from John Donaghy: "fix for audio and video in dvr-ms asf files"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18610 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-06 23:34:21 +00:00
rtognimp 7cd95a4b4b Don't use free()d pointer CID 260
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18012 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-01 23:50:30 +00:00
iive 9b4c7840b9 fix descrambling of asf file,
where signed buffer could cause erroneous values to be filled in descrable variables,
add misssing check for one of these variables
and restore sign of these variables as insurance that these checks will work even in such case.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18002 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-30 23:06:18 +00:00
albeu 22e18ebe85 Move global vars used for header parsing, etc to dewux->priv as it should
be. Also cleanup a bit signedness.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17993 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-29 23:25:09 +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
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
rtognimp cd68e1618b Demuxer modularization
Demuxer selection by name with -demuxer command (bakward compatible)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 19:57:47 +00:00
reimar c95fe61fd8 10l, incorrect usage of le2me_*
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16150 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-29 15:52:06 +00:00
reimar d7c31709b3 M$ puts whole FAQs in these headers, so they can get really big...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15796 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-21 19:56:47 +00:00
reimar 3cfef55557 support DVR format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15573 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-26 11:23:15 +00:00
reimar bf0b713d0c fix stream selection and -bandwidth for mms-over-http.
Modifies header parsing to do a brute-force scan for known guids, to avoid
having to analyze and parse the whole property-tree structure.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14237 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-25 11:31:32 +00:00
diego 012082e050 less verbosity + printf --> mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12220 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-17 10:31:38 +00:00
bertrand ff6a17f203 Changed the STREAMING defines to MPLAYER_NETWORK to avoid name definition clash.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10122 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-17 12:24:01 +00:00
arpi 422b0d2a4c demuxer_control(), percent position and time length query implemented in
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
2002-11-16 03:42:14 +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 bfe2ea0c6a max header size increased
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7890 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 23:40:34 +00:00
atmos4 b19296cc7e Fix -bandwidth if no streaming available, 10l ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6667 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-07 16:17:45 +00:00
bertrand 20fd97f105 If network is used, take the streams id that were requested.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6646 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-05 02:48:32 +00:00
arpi 1ae254811b On the sun all int32 objects have to be aligned on 32 bit boundaries. With
this patch the asf-files run well on sparc/solaris
patch by Martin Olschewski <olschewski@zpr.uni-koeln.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6188 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-25 12:56:56 +00:00
bertrand a600c5d796 Changed the big handling to make it use mplayer's endian macros.
(reworked of the patch from Guillaume Morin <guillaume@morinfr.org>)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5619 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-14 05:53:36 +00:00
arpi 43b0f2f4d4 bigendlian fix by Guillaume Morin <guillaume@morinfr.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5598 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-13 16:49:27 +00:00
albeu 7380c34169 Added auto selection of the best streams and fixed a few compiler
warnings


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4539 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-05 16:50:10 +00:00
arpi efb1d8e461 pre-check for audio/video streams (hope it fix wma steraming)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4350 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-26 01:21:41 +00:00
bertrand bd45bf098f Add a parser for the "ASF group stream object" and display the bitrate values
of all the streams.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4334 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-24 05:30:41 +00:00
bertrand b1bee536f0 Changed the asf_file_header_t struct to read all the fields properly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4289 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-20 21:38:11 +00:00
alex 56a7e74663 added demux_info support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3071 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-22 15:30:54 +00:00
arpi b7c1f37d4c includes cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2339 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-21 15:47:31 +00:00
arpi 881e5d0783 libdemuxer...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2311 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-20 18:49:08 +00:00