summaryrefslogtreecommitdiffstats
path: root/libmpdemux/asfheader.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove some useless "extern" before function prototypesreimar2007-07-251-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23860 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed bug introduced with the addition of get_ext_stream_properties()nicodvb2007-07-181-1/+1
| | | | | | | | | | | | | | | | that should close bug #843, too. Patch by John Donaghy. Explanation: The issue is that get_ext_stream_properties shouldnt be returning false when no extended stream properties are found for the stream in question because that is not an error condition ... extended stream properties are optional. The only time this function should return false is when the buffer overrun checks fail. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23823 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix unaligned memory access in asfheader.c, courtesy of Balatoni Deneszuxy2007-07-101-1/+1
| | | | | | | (dbalatoni AT programozo DOT hu) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23757 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use play duration instead of send duration to calculate the lengthzuxy2007-05-301-1/+1
| | | | | | | of an ASF clip. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23417 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some unused variables, patch by timwoj ieee org.diego2007-05-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set i_bps for ASF video streams according to extended stream propertieszuxy2007-05-221-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23375 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make use of new AV_RL64reimar2007-05-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23329 b3059339-0415-0410-9bf9-f77b7e298cf2
* For DVR-MS:nicodvb2007-05-071-12/+75
| | | | | | | | | | | | extract timing information from the payload extension, set key frames, detect video frame boundaries, interpolate the average video frame time using the known informations from past frames and timestamps. Video data before the first video key frame is thrown away. Patch by John Donaghy johnfdonaghy gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23257 b3059339-0415-0410-9bf9-f77b7e298cf2
* Declarations and code should not be mixed.diego2007-04-251-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23107 b3059339-0415-0410-9bf9-f77b7e298cf2
* with -identify show audio and video id; patch by Andrew Savchenko (Bircoph ↵nicodvb2007-04-201-0/+3
| | | | | | 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.diego2007-03-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22623 b3059339-0415-0410-9bf9-f77b7e298cf2
* warn users about drm files, patch by zuxy mengcompn2007-03-031-0/+46
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22427 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sanity-check sh_video->bih->biSizereimar2007-01-211-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21985 b3059339-0415-0410-9bf9-f77b7e298cf2
* Compile fix: LE_* -> AV_RL*reimar2007-01-191-13/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21963 b3059339-0415-0410-9bf9-f77b7e298cf2
* ASF aspect support via metadata reading.reimar2006-12-151-0/+83
| | | | | | | | 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
* Use libavutil LE_* macros instead of pointer casts which can resultreimar2006-12-031-6/+6
| | | | | | | 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
* Unicode support for demuxer info in ASF demuxer.reimar2006-12-031-50/+56
| | | | | | | Patch by Zuxy Meng [zuxy meng <at> gmail com]. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21461 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try to handle oversized asf headers by ignoring anything beyond the first MBreimar2006-11-131-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20894 b3059339-0415-0410-9bf9-f77b7e298cf2
* interpolate real fps of dvr-ms files using the extended stream properties.nicodvb2006-09-241-0/+47
| | | | | | | Patch by John Donaghy - johnfdonaghy gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19967 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix use of uninitialized variableuau2006-07-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19129 b3059339-0415-0410-9bf9-f77b7e298cf2
* marks several read-only string parameters and function return-values which ↵reynaldo2006-07-161-1/+1
| | | | | | 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
* drops casts from void * on malloc/calloc from libmpdemux codereynaldo2006-07-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19067 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forgotten free on errorreimar2006-06-251-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18813 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix declaration mixed in among statements in the recent dvr-ms codepacman2006-06-091-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18671 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch from John Donaghy: "fix for audio and video in dvr-ms asf files"pacman2006-06-061-25/+90
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18610 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't use free()d pointer CID 260rtognimp2006-04-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18012 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix descrambling of asf file,iive2006-03-301-2/+4
| | | | | | | | | 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
* Move global vars used for header parsing, etc to dewux->priv as it shouldalbeu2006-03-291-28/+27
| | | | | | | be. Also cleanup a bit signedness. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17993 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert printfs in aviprint.c to mp_msg and give the information printingdiego2006-03-271-4/+4
| | | | | | | 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.diego2006-03-241-10/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
* libmpdemux translatables to help_mp part 1 / mp_msg calls / try 2reynaldo2005-10-311-12/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16883 b3059339-0415-0410-9bf9-f77b7e298cf2
* Demuxer modularizationrtognimp2005-08-051-1/+1
| | | | | | | Demuxer selection by name with -demuxer command (bakward compatible) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, incorrect usage of le2me_*reimar2005-07-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16150 b3059339-0415-0410-9bf9-f77b7e298cf2
* M$ puts whole FAQs in these headers, so they can get really big...reimar2005-06-211-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15796 b3059339-0415-0410-9bf9-f77b7e298cf2
* support DVR formatreimar2005-05-261-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15573 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix stream selection and -bandwidth for mms-over-http.reimar2004-12-251-115/+178
| | | | | | | | 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
* less verbosity + printf --> mp_msgdiego2004-04-171-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12220 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changed the STREAMING defines to MPLAYER_NETWORK to avoid name definition clash.bertrand2003-05-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10122 b3059339-0415-0410-9bf9-f77b7e298cf2
* demuxer_control(), percent position and time length query implemented inarpi2002-11-161-0/+4
| | | | | | | | 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
* verbose can be negativearpi2002-11-011-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* max header size increasedarpi2002-10-231-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7890 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix -bandwidth if no streaming available, 10l ;)atmos42002-07-071-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6667 b3059339-0415-0410-9bf9-f77b7e298cf2
* If network is used, take the streams id that were requested.bertrand2002-07-051-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6646 b3059339-0415-0410-9bf9-f77b7e298cf2
* On the sun all int32 objects have to be aligned on 32 bit boundaries. Witharpi2002-05-251-1/+2
| | | | | | | | 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
* Changed the big handling to make it use mplayer's endian macros.bertrand2002-04-141-6/+3
| | | | | | | (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
* bigendlian fix by Guillaume Morin <guillaume@morinfr.org>arpi2002-04-131-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5598 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added auto selection of the best streams and fixed a few compileralbeu2002-02-051-5/+30
| | | | | | | warnings git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4539 b3059339-0415-0410-9bf9-f77b7e298cf2
* pre-check for audio/video streams (hope it fix wma steraming)arpi2002-01-261-0/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4350 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a parser for the "ASF group stream object" and display the bitrate valuesbertrand2002-01-241-0/+30
| | | | | | | of all the streams. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4334 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changed the asf_file_header_t struct to read all the fields properly.bertrand2002-01-201-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4289 b3059339-0415-0410-9bf9-f77b7e298cf2
* added demux_info supportalex2001-11-221-8/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3071 b3059339-0415-0410-9bf9-f77b7e298cf2
* includes cleanuparpi2001-10-211-7/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2339 b3059339-0415-0410-9bf9-f77b7e298cf2
* libdemuxer...arpi2001-10-201-0/+279
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2311 b3059339-0415-0410-9bf9-f77b7e298cf2