summaryrefslogtreecommitdiffstats
path: root/libmpdemux/asfheader.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge svn changes up to r30643Uoti Urpala2010-03-101-5/+2
|\
| * Add header for AVI print functions; avoids many forward declarations.diego2010-02-181-4/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30631 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add header for asf_check_header, read_asf_header; avoids forward declarations.diego2010-02-171-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30629 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30437Uoti Urpala2010-01-281-0/+1
|\|
| * Enable parsing for ASF audio streams.reimar2010-01-261-0/+1
| | | | | | | | | | | | | | This is necessary to use the ffmp2 decoder with dvr-ms files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30437 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29912Uoti Urpala2009-11-161-1/+1
|\|
| * Calculate length of ASF files with more than 1 second precision.reimar2009-11-101-1/+1
| | | | | | | | | | | | | | Based on patch by On2. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29881 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix length calculation for ASF, preroll is in ms, play time in 100 ns.reimar2009-11-101-1/+1
| | | | | | | | | | | | | | Based on patch by On2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29880 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Replace libavutil internal header #includes with MPlayer copiesUoti Urpala2009-07-261-1/+1
| | | | | | | | | | | | Change #include lines for libavutil/intreadwrite.h, libavutil/bswap.h and libavutil/x86_cpu.h to use the MPlayer file under ffmpeg_files/ instead.
* | Merge svn changes up to r29412Uoti Urpala2009-07-071-1/+1
|\|
| * In all demux_info_add calls change "name" to "title".reimar2009-05-301-1/+1
| | | | | | | | | | | | | | | | | | 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
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-12/+12
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-12/+12
| |
* | Merge svn changes up to r29304Uoti Urpala2009-07-071-1/+18
|\|
| * Add standard license header to all files in libmpdemux.diego2009-05-081-1/+18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29280 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Translation system changes part 2: replace macros by stringsAmar Takhar2009-07-071-14/+14
| | | | | | | | | | Replace all MSGTR_ macros in the source by the corresponding English string.
* | Translation system changes part 1: wrap translated stringsAmar Takhar2009-07-071-14/+14
|/ | | | | Replace mp_msg() calls which have a translated string as the format argument with mp_tmsg and add _() around all other translated strings.
* Move find_backwards_asf_guid asfguid.h to asfheader.c, the only place wherediego2008-10-051-0/+10
| | | | | | | | it is used. Fixes the following warning: ./libmpdemux/asfguid.h:94: warning: 'find_backwards_asf_guid' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27723 b3059339-0415-0410-9bf9-f77b7e298cf2
* Give a CONFIG_ prefix to preprocessor directives that lacked one anddiego2008-08-071-1/+1
| | | | | | | change arbitrary prefixes to CONFIG_. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27429 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix stupid and almost pointless check-after-read code in asfheader.c.reimar2008-07-091-3/+3
| | | | | | | Fixes bug #1133. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27243 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make stream independent of libmpdemux, the asf demuxer and streamingalbeu2008-04-091-72/+1
| | | | | | | code share a function and a few definitions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26357 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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
| | | | | |