aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux/demux_real.c
Commit message (Collapse)AuthorAge
* Fix some potential integer overflow in memory allocation (mot of theseGravatar rtognimp2006-05-14
| | | | | | | were probably safe or disabled anyway) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18506 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential integer overflows in memory allocation. Patch by Reimar and ↵Gravatar rtognimp2006-05-11
| | | | | | me, SIZE_MAX by Rich git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18445 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part3 of Otvos Attila's oattila AT chello-hu mp_msg changes, with lots of ↵Gravatar reynaldo2006-04-22
| | | | | | modifications as usual git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18177 b3059339-0415-0410-9bf9-f77b7e298cf2
* always cast stream IDs to unsigned before comparing to MAX_STREAMS.Gravatar reimar2006-04-15
| | | | | | | just defining them as unsigned might be a better fix though... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18107 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
* Only MAX_STREAMS streams are allowed (cid 115)Gravatar rtognimp2006-03-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17811 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential read from an unitialized pointer (CID: 236)Gravatar rtognimp2006-03-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17789 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream_id == MAX_STREAMS is invalid, since counting starts with 0.Gravatar reimar2006-03-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17777 b3059339-0415-0410-9bf9-f77b7e298cf2
* Second-try commit of this patch.Gravatar corey2006-02-17
| | | | | | | | | | | | 1. Include audio_delay as an argument to demux_seek. 2. Modify demux_seek_avi to adjust the audio/video stream positions so that mplayer/mencoder will instantly be in sync even when -delay is specified. I've quadruple checked this time; hopefully I haven't missed anything. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17637 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reverse commit of unfinished patch for passing audio_delay to the demuxers.Gravatar corey2006-02-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17570 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1. Include audio_delay as an argument to demux_seek.Gravatar corey2006-02-07
| | | | | | | | | | | 2. Modify demux_seek_avi to adjust the audio/video stream positions so that mplayer/mencoder will instantly be in sync even when -delay is specified. Other demuxers could be modified similarly in the future. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17554 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print some more useful data from header in verbose modeGravatar rtognimp2006-01-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17402 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always try to parse index chunk, no reason to check for movi_endGravatar reimar2006-01-14
| | | | | | | Also check return value of parse_index_chunk git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17395 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix printing of audio fourcc in hex formatGravatar rtognimp2006-01-14
| | | | | | | Add explicit cast to fourcc print git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17392 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print audio 4cc for every stream, print 4cc of selected audio trackGravatar rtognimp2006-01-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17389 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
* include the right avcodec.h, consistently with the rest of mplayerGravatar nicodvb2006-01-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17344 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't leak memory (free audio reordering buffers)Gravatar rtognimp2006-01-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17319 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove assumption that all audio packets in a block have the sameGravatar rtognimp2006-01-04
| | | | | | | | | timestamp; now the code stores timestamp for every packet and puts them on reordered packets Fixes ra10cook.rmvc git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17318 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000.0l timestamps are floatGravatar rtognimp2006-01-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17317 b3059339-0415-0410-9bf9-f77b7e298cf2
* malloc padding to avoid access beyond allocated memoryGravatar henry2005-12-19
| | | | | | | Credits to Mikulas Patocka (mikulas at artax karlin mff cuni cz) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17227 b3059339-0415-0410-9bf9-f77b7e298cf2
* make demuxer seek and close functions return void, patch by Dominik MierzejewskiGravatar wanderer2005-12-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17175 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move audio packets reordering from codec interface to demuxers for realGravatar rtognimp2005-12-09
| | | | | | | | | files (old and new format), pass only real extradata to the codec Enable cook codec from lavc, prefer lavc codecs for 14_4 and 28_8 formats. Disable internal 28_8, it's broken now and will be removed soon git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17150 b3059339-0415-0410-9bf9-f77b7e298cf2
* move resync_audio_stream after seeking to demuxer.cGravatar reimar2005-10-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16878 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make -identify's 'ID_LENGTH=' print a float and not an integer.. TheGravatar ods152005-09-02
| | | | | | | | accuracey may be totally fake for some demuxers (mpg), but accurate for others.. (avi) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16347 b3059339-0415-0410-9bf9-f77b7e298cf2
* Demuxer modularizationGravatar rtognimp2005-08-05
| | | | | | | Demuxer selection by name with -demuxer command (bakward compatible) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix rm files with a really big index chunk.Gravatar reimar2005-03-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14898 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not read any more data at eof: if got eof in the middle of an audioGravatar rtognimp2005-01-24
| | | | | | | | block, ad_realaudio requests more data even if sh->audio->eof Fixes sig11 at eof of hotel_california_ra5.1_640x480_30s.rmvb git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14587 b3059339-0415-0410-9bf9-f77b7e298cf2
* Be less verbose with -v (do not print a line for each demuxed packet)Gravatar rtognimp2005-01-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14586 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce excessive verbosity.Gravatar diego2005-01-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14579 b3059339-0415-0410-9bf9-f77b7e298cf2
* Play RV30 with 8-elements cmsg24Gravatar rtognimp2005-01-22
| | | | | | | Fixes rv30_cmsg24_test.rmvb (now in samples) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14569 b3059339-0415-0410-9bf9-f77b7e298cf2
* Decode MP3 in rm filesGravatar rtognimp2005-01-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14499 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce index verbosityGravatar rtognimp2005-01-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14404 b3059339-0415-0410-9bf9-f77b7e298cf2
* Real multirate files supportGravatar rtognimp2005-01-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14403 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print waveheader only when verboseGravatar reimar2005-01-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14396 b3059339-0415-0410-9bf9-f77b7e298cf2
* Memleak fix: free index data at demuxer_closeGravatar rtognimp2004-11-01
| | | | | | | Patch by Wei Jiang ( jiangw98 at yahoo dot com ) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13838 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not attempt to seek backward in stream on MDPR chunk with no codec dataGravatar reimar2004-08-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12993 b3059339-0415-0410-9bf9-f77b7e298cf2
* index creation/reading behaviour just like the avi demuxer, patch based on ↵Gravatar alex2004-06-25
| | | | | | work by Reza Jelveh, Moritz Bunkus und myself git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12666 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l for me. Header seek is not needed to fix 28_8 and can cause sig11Gravatar rtognimp2004-05-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12368 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for 28_8 in rm files and header length != 0x4eGravatar rtognimp2004-04-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12328 b3059339-0415-0410-9bf9-f77b7e298cf2
* Stop reading the file if an INDX chunk is found instead of a data packet.Gravatar mosu2004-03-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12077 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for v3 audio section (used with 14_4 codec) in real filesGravatar rtognimp2004-02-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11990 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000000000l reported by Steven Schultz (thanks!)Gravatar rfelker2004-01-30
| | | | | | | | | | when the hell was this c++ crap added? why wasn't it noticed? do all the competent developers --disable-real because we don't watch crappy low-quality files? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11887 b3059339-0415-0410-9bf9-f77b7e298cf2
* add support for aac in real media filesGravatar attila2004-01-29
| | | | | | | patch by Moritz Bunkus <moritz@bunkus.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11878 b3059339-0415-0410-9bf9-f77b7e298cf2
* continue playing real files after errorsGravatar attila2004-01-29
| | | | | | | | patch by Pekka Enberg <Pekka.Enberg@cs.helsinki.fi> additionally changed all printfs to mp_msg git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11871 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for Real files with header size == 0x10 (normally is 0x12)Gravatar rtognimp2004-01-16
| | | | | | | | (fixes sample file header_size_10.rmvb) Patch by LR <hephooey (at) fastmail (dot) fm> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11798 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l to meGravatar alex2003-12-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11607 b3059339-0415-0410-9bf9-f77b7e298cf2
* Proper runtime index generation with support for growing files. Patch by ↵Gravatar alex2003-12-08
| | | | | | rgselk <rgselknospam@yahoo.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11597 b3059339-0415-0410-9bf9-f77b7e298cf2
* seek in realmedia filesGravatar luran2003-11-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11442 b3059339-0415-0410-9bf9-f77b7e298cf2