summaryrefslogtreecommitdiffstats
path: root/libmpdemux
Commit message (Collapse)AuthorAgeFilesLines
* coverity report #179 from xine: variable "rest" not freed or pointed-to in ↵ben2006-06-291-0/+1
| | | | | | function "rtsp_put" (see http://xine.cvs.sourceforge.net/xine/xine-lib/src/input/librtsp/rtsp.c?r1=1.19&r2=1.20) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18859 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetic patch to remove useless sizeof(char) statementsben2006-06-291-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18858 b3059339-0415-0410-9bf9-f77b7e298cf2
* increase buffer size, "CSeq: %u" has a worst case of 17 (fix 1.18 from xine, ↵ben2006-06-291-3/+3
| | | | | | see http://xine.cvs.sourceforge.net/xine/xine-lib/src/input/librtsp/rtsp.c?r1=1.17&r2=1.18) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18857 b3059339-0415-0410-9bf9-f77b7e298cf2
* be more tolerant on server responses parameters case (fix 1.17 from xine, ↵ben2006-06-291-8/+8
| | | | | | see http://xine.cvs.sourceforge.net/xine/xine-lib/src/input/librtsp/rtsp.c?r1=1.16&r2=1.17) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18856 b3059339-0415-0410-9bf9-f77b7e298cf2
* 2 more unused functions removal (trying to sync with xine)ben2006-06-291-52/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18855 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused hexdump()ben2006-06-291-36/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18854 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation under mingw (thanks to tempn AT twmi DOT rr DOT com for ↵ben2006-06-291-0/+1
| | | | | | report and pacman for fix) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18853 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove bogus stream_eof() test - av_read_frame() has its own buffer and canpacman2006-06-281-5/+0
| | | | | | | still return usable data after the underlying stream_t has EOF'ed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18847 b3059339-0415-0410-9bf9-f77b7e298cf2
* includes before checking for defines (thanks Reimar for watching me)ben2006-06-271-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18841 b3059339-0415-0410-9bf9-f77b7e298cf2
* network code portability for win32ben2006-06-271-1/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18840 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoid messing up with includesben2006-06-272-5/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18839 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't declare same global var twice (break live555 compilation)ben2006-06-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18836 b3059339-0415-0410-9bf9-f77b7e298cf2
* added new native rtsp demuxer code for mpeg-ts over rtp (now both real and ↵ben2006-06-267-7/+802
| | | | | | non-real servers should be handled) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18833 b3059339-0415-0410-9bf9-f77b7e298cf2
* new imported library in libmpdemux: freesdp (will be used by native rtsp ↵ben2006-06-268-1/+3734
| | | | | | demuxer) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18827 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetic changes to avoid constants redefinitionben2006-06-261-8/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18826 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
* exit() is not allowed in any other function than main(); removednicodvb2006-06-241-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18808 b3059339-0415-0410-9bf9-f77b7e298cf2
* fprintf -> ms_msgnicodvb2006-06-241-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18807 b3059339-0415-0410-9bf9-f77b7e298cf2
* static-ized a couple of functionsnicodvb2006-06-242-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18806 b3059339-0415-0410-9bf9-f77b7e298cf2
* rtp reordering of packets; patch by Ernitron (ernitron@fastwebnet.it)nicodvb2006-06-241-15/+165
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18805 b3059339-0415-0410-9bf9-f77b7e298cf2
* prevent a buffer overflow to occur at teardownben2006-06-231-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18804 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved generic rtsp related files from realrtsp to librtspben2006-06-239-12/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18802 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove some never called codeben2006-06-232-18/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18801 b3059339-0415-0410-9bf9-f77b7e298cf2
* prevent most RTSP streams from locking due to -idxben2006-06-231-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18800 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed some includes that are now uselessben2006-06-231-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18798 b3059339-0415-0410-9bf9-f77b7e298cf2
* new RTSP demuxer dedicated file, based on old code from realrtsp one but ↵ben2006-06-233-94/+176
| | | | | | intended to be much more generic git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18797 b3059339-0415-0410-9bf9-f77b7e298cf2
* some printf() to mp_msg() replacementsben2006-06-231-6/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18796 b3059339-0415-0410-9bf9-f77b7e298cf2
* move real_rtsp init/uninit code to its dedicated place to simplify a bit ↵ben2006-06-233-39/+83
| | | | | | rtsp session demuxer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18795 b3059339-0415-0410-9bf9-f77b7e298cf2
* CVS --> Subversion in copyright noticesdiego2006-06-227-13/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18786 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for -alangnicodvb2006-06-211-5/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18778 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetic changes (defines will be used later in other parts of the code)ben2006-06-212-14/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18777 b3059339-0415-0410-9bf9-f77b7e298cf2
* better RTSP RFC compliance (fixes in CSeq and TEARDOWN handling)ben2006-06-213-18/+63
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18775 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for audio stream switchingnicodvb2006-06-201-1/+50
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18765 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix a buffer overflow causing a segfaultaurel2006-06-201-1/+2
| | | | | | | (original patch by Vladimir Voroshilov < voroshil _at_ univer.omsk.su >) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18764 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove misleading Encrypted VOB message; patch by Ismail Donmez (ismail ab ↵nicodvb2006-06-191-3/+0
| | | | | | pardus punctum org puntum tr) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18761 b3059339-0415-0410-9bf9-f77b7e298cf2
* feed any audio track present in the mux; switch to any of the available ↵nicodvb2006-06-191-29/+36
| | | | | | audio tracks git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18757 b3059339-0415-0410-9bf9-f77b7e298cf2
* try to reduce the distance between consecutive frames with pts to no more ↵nicodvb2006-06-181-1/+1
| | | | | | than 0.4 seconds (required by dvds) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18754 b3059339-0415-0410-9bf9-f77b7e298cf2
* prevent buffer overflow in the STD; simplified fill_packet() (moving part of ↵nicodvb2006-06-181-87/+111
| | | | | | the code to get_packet_stats()) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18748 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix crash with all audio-only ogg files, the vorbis_info struct is notreimar2006-06-171-1/+1
| | | | | | | stored in the sh_audio context but in the demuxer priv element git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18740 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed old dvdnav codenicodvb2006-06-161-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18735 b3059339-0415-0410-9bf9-f77b7e298cf2
* reduced standard verbosity and changed output messages to more uniform ↵nicodvb2006-06-141-13/+13
| | | | | | descriptions git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18717 b3059339-0415-0410-9bf9-f77b7e298cf2
* workaround: at every read update demux->movi_end with stream->end_pos; ↵nicodvb2006-06-141-0/+5
| | | | | | needed to show the progress bar when playing dvdnav streams git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18716 b3059339-0415-0410-9bf9-f77b7e298cf2
* restored support for dvdnav only in the stream layer; all other ↵nicodvb2006-06-143-56/+141
| | | | | | functionalities are disabled git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18715 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clean up audio pts handling, make audio pts tracking in the audio-onlyuau2006-06-149-22/+4
| | | | | | | case work the same as with video. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18713 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change free_sh_audio() to take demuxer and stream id as parametersuau2006-06-145-11/+10
| | | | | | | | | | | | | | (same as new_sh_audio()) instead of sh_audio_t *, use those to remove the pointer from demuxer->a_streams[] before freeing it. Some demuxers use free_sh_audio() to undo the creation of an already-allocated audio stream in case of error. These uses were unsafe since free_sh_audio() freed the data structure but left the pointer in demuxer->a_streams[], leading to double free later in free_demuxer() (and perhaps use of the freed stream before that, I didn't check). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18711 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove extern declaration for free_sh_audio() that is both unused anduau2006-06-141-2/+0
| | | | | | | | already present from stheader.h. (Would cause a compile error after my next change.) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18710 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for audio stream switchingnicodvb2006-06-121-3/+98
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18691 b3059339-0415-0410-9bf9-f77b7e298cf2
* include stream_dvd's interface from libmpdemux/stream_dvd.hnicodvb2006-06-112-50/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18685 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved stream_dvd's interface to stream_dvd.hnicodvb2006-06-111-0/+48
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18684 b3059339-0415-0410-9bf9-f77b7e298cf2
* now any audio stream can be chosen during DEMUXER_CTRL_SWITCH_AUDIO, ↵nicodvb2006-06-111-4/+0
| | | | | | irrispective of the codec used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18683 b3059339-0415-0410-9bf9-f77b7e298cf2
* Protect SIZE_MAX usertogni2006-06-092-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18672 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
* moved store_ughvlc() before #ifdef HAVE_OGGVORBIS, so it can be used by ↵nicodvb2006-06-091-16/+16
| | | | | | other demuxers when libogg and/or libvorbis are missing git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18670 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for vorbis in mp4/movnicodvb2006-06-092-3/+61
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18668 b3059339-0415-0410-9bf9-f77b7e298cf2
* decoderConfigLen can be larger than 255 bytesnicodvb2006-06-092-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18667 b3059339-0415-0410-9bf9-f77b7e298cf2
* first vorbis packet before vorbis_synthesis_headeri() must have b_o_s==1nicodvb2006-06-071-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18638 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch from John Donaghy: "fix for audio and video in dvr-ms asf files"pacman2006-06-063-33/+198
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18610 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a few minor spelling errors in comments.corey2006-06-052-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18590 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable unsecure dumping of generic track with -v -v -vrtogni2006-06-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18584 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for dts (identified only by the PMT, not from the bitstream)nicodvb2006-06-041-1/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18566 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed wrong assignment of stream type in generic PES_PRIVATE1 streams ↵nicodvb2006-06-041-1/+1
| | | | | | (didn't respect the type qualified in the PMT) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18565 b3059339-0415-0410-9bf9-f77b7e298cf2
* one more a52 descriptor (dvb impl., untested)nicodvb2006-06-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18564 b3059339-0415-0410-9bf9-f77b7e298cf2
* configurable tuning timeoutnicodvb2006-06-043-14/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18562 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential integer overflows in memory allocation.rtogni2006-06-0422-46/+86
| | | | | | | Patch by Rich and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18559 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove now obsolete .cvsignore files.diego2006-06-021-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
* metadata supportmichael2006-05-301-1/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18555 b3059339-0415-0410-9bf9-f77b7e298cf2
* psm longer than 1018 bytes is not allowed, thus invalidnicodvb2006-05-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18550 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix:rathann2006-05-143-4/+4
| | | | | | | | frequencies.c:1168: warning: initialization discards qualifiers from pointer target type dvbin.c:843: warning: assignment from incompatible pointer type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18514 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix parsing of vobsub private data, patch by Evgeniy Stepanov <eugeni P ↵gpoirier2006-05-141-0/+1
| | | | | | | | | | | stepanov A gmail P com> Original thread: Date: May 14, 2006 12:28 AM Subject: [MPlayer-dev-eng] [BUG][PATCH] parsing of vobsub private data in mkv probably broken git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18508 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix some potential integer overflow in memory allocation (mot of thesertognimp2006-05-142-7/+12
| | | | | | | were probably safe or disabled anyway) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18506 b3059339-0415-0410-9bf9-f77b7e298cf2
* missing argument for mp_msg, fixes:rathann2006-05-131-1/+1
| | | | | | | demux_mov.c:1159: warning: too few arguments for format git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18492 b3059339-0415-0410-9bf9-f77b7e298cf2
* where necesary, replaced all realloc() with realloc_struct() to prevent int ↵nicodvb2006-05-131-4/+14
| | | | | | oveflows git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18476 b3059339-0415-0410-9bf9-f77b7e298cf2
* when searching ac3 in unqualified pes_private1 streams there's no need to ↵nicodvb2006-05-131-0/+3
| | | | | | scan > 64 KB of data: frames can't be so far apart git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18475 b3059339-0415-0410-9bf9-f77b7e298cf2
* prevent memleaknicodvb2006-05-131-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18473 b3059339-0415-0410-9bf9-f77b7e298cf2
* unconditionally stop allocating memory for dvb_channel_t after 1 MB: it's ↵nicodvb2006-05-131-0/+5
| | | | | | unreasonably big git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18472 b3059339-0415-0410-9bf9-f77b7e298cf2
* accidentally committed this overflow fix with the declaration fix before.rfelker2006-05-131-1/+1
| | | | | | | | messed up indention corrected at oded's request. :) 10^100l to me too.. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18469 b3059339-0415-0410-9bf9-f77b7e298cf2
* posix compliance, dont use ancient legacy namerfelker2006-05-132-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18467 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10^100l c++ declarationsrfelker2006-05-131