summaryrefslogtreecommitdiffstats
path: root/stream
Commit message (Collapse)AuthorAgeFilesLines
* Remove the need for code using stream to export an mp_input_check_interrupt()albeu2008-04-094-4/+18
| | | | | | | function. It also removes the compile-time dependency on input. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26358 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make stream independent of libmpdemux, the asf demuxer and streamingalbeu2008-04-091-10/+1
| | | | | | | code share a function and a few definitions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26357 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix possible integer overflow in malloc by using calloc instead.reimar2008-03-291-1/+2
| | | | | | | Should fix CVE-2008-0073 as far as MPlayer is affected by this problem. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26299 b3059339-0415-0410-9bf9-f77b7e298cf2
* mingw uses windows sockets.vayne2008-03-111-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26223 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing header #includes to fix 'make checkheaders'.diego2008-03-101-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26218 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing header #includes to fix 'make checkheaders'.diego2008-03-1014-0/+39
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26216 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless #include.diego2008-03-101-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26215 b3059339-0415-0410-9bf9-f77b7e298cf2
* search channels.conf in mplayer's instdir if all other searches fail; patch ↵nicodvb2008-03-031-0/+6
| | | | | | by foxcore gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26155 b3059339-0415-0410-9bf9-f77b7e298cf2
* cache support for OS/2diego2008-02-281-17/+34
| | | | | | | patch by KO Myung-Hun, komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26109 b3059339-0415-0410-9bf9-f77b7e298cf2
* FFmpeg now uses different (unified) #include paths.diego2008-02-251-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid a pointless special-case for opening a filereimar2008-02-241-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26083 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MPLAYER_ prefix to multiple inclusion guards.diego2008-02-2234-106/+104
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add multiple inclusion guard.diego2008-02-211-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26045 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing multiple inclusion guards.diego2008-02-214-0/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26044 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless #ifdefs around extern declarations.diego2008-02-201-26/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26039 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for DOS-style file:///x:/path paths.diego2008-02-201-0/+6
| | | | | | | patch by KO Myung-Hun, komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26037 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fill stream->end_pos if possible, fixing lavf demuxers that need to seek.albeu2008-02-191-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26031 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support icyx://.reimar2008-02-151-1/+1
| | | | | | | Patch by Sander Plas [sander oele net]. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26004 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always display Icy-Metadata if available, whether we recognize an ICY-Serverreimar2008-02-151-1/+2
| | | | | | | or not. I can not think of a reason why this should hurt. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26003 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move printing of Icy-Metadata into an extra functionreimar2008-02-151-14/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26002 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless codereimar2008-02-151-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26001 b3059339-0415-0410-9bf9-f77b7e298cf2
* Detect IceCast also by Icy-MetaInt header part in http_streaming_start(),reimar2008-02-151-1/+2
| | | | | | | as in fixup_open() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26000 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix: inited --> initializeddiego2008-02-142-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
* -chapter is now handled uniformly calling demuxer_seek_chapter() insteadnicodvb2008-02-112-29/+2
| | | | | | | of letting individual demuxers and stream readers do their nasty job git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25987 b3059339-0415-0410-9bf9-f77b7e298cf2
* #include just libavutil/common.h, not all of libavutil/intreadwrite.h.diego2008-02-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25980 b3059339-0415-0410-9bf9-f77b7e298cf2
* Stream IDs must be written as hex numbers. Fixes rtogni2008-01-291-2/+2
| | | | | | | | | http://wm.streampower.be/ceu/archive/CEU_COUNCIL_DELIBIRATIONS_PUBLIC_DEBATE/ceulive_1443.wmv Patch by Peter Collingbourne pcc03 doc ic ac uk git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25928 b3059339-0415-0410-9bf9-f77b7e298cf2
* vcd_read must read exactly VCD_SECTOR_DATA bytes.reimar2008-01-281-1/+1
| | | | | | | | If NetBSD can not handle this setting, the code must be rewritten to use a temporary buffer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25901 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use uppercase filename as multiple inclusion guard.diego2008-01-285-15/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25897 b3059339-0415-0410-9bf9-f77b7e298cf2
* factorize 2 testsben2008-01-261-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25860 b3059339-0415-0410-9bf9-f77b7e298cf2
* add a new state flag to dvdnav in order to notify ifben2008-01-262-0/+21
| | | | | | | | | something has changed in the current stream (being title, chapter, audio layer or SPU one) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25858 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove useless castsben2008-01-261-10/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25857 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplify by a one-linerben2008-01-261-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25856 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove the spu_set field, replaced by a flagben2008-01-261-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25855 b3059339-0415-0410-9bf9-f77b7e298cf2
* this end brace was not correctly indentedben2008-01-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25854 b3059339-0415-0410-9bf9-f77b7e298cf2
* automatically set spu button highlight when nav cell has changedben2008-01-261-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25853 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for dvdnav still frames playback.ben2008-01-262-26/+166
| | | | | | | | | | | Based on various patches from Otvos Attila and MPlayer'ized by me. N.B. Always use -vc ffmpeg12 with dvdnav:// git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25852 b3059339-0415-0410-9bf9-f77b7e298cf2
* array was defined for 6 elements while 7 were declaredben2008-01-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25848 b3059339-0415-0410-9bf9-f77b7e298cf2
* type expected by dvdnav_get_title_string() is constben2008-01-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25847 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove some redundant declarationsben2008-01-241-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25846 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add new command to switch between dvdnav titlesben2008-01-242-0/+10
| | | | | | | | Based on parts of dvdnav monster patches from Otvos Attila git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25845 b3059339-0415-0410-9bf9-f77b7e298cf2
* Prevent possible buffer overflow on album_title[]rtogni2008-01-201-2/+5
| | | | | | | Based on a patch by Adam Bozanich abozanich musecurity com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25824 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clear tmp between ip6 check and string escape to prevent reuse of the rtogni2008-01-201-0/+1
| | | | | | | | | | buffer, in order to prevent a possible buffer overflow on malformed urls. Based on a patch by Adam Bozanich abozanich musecurity com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25823 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation failue:ulion2008-01-201-0/+1
| | | | | | | | | | stream_cddb.c: In function 'cddb_read_cache': stream_cddb.c:341: error: 'UINT_MAX' undeclared (first use in this function) stream_cddb.c:341: error: (Each undeclared identifier is reported only once stream_cddb.c:341: error: for each function it appears in.) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25820 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reindentreimar2008-01-191-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25808 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify and keep terminating end-of-linereimar2008-01-191-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25807 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a broken and useless hack to avoid a memcpyreimar2008-01-191-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25806 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cached file must be 0-terminated since we use string processing functions on itreimar2008-01-191-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25805 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure we do not write the terminating 0 out of boundsreimar2008-01-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25804 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify/cleanup of real_calc_response_and_checksum()rtogni2008-01-131-8/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25750 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't oversize realchallenge buffersrtogni2008-01-131-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25749 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify cue-parsingreimar2008-01-131-13/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25732 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of quite useless inum variablereimar2008-01-131-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25731 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use AV_WB*reimar2008-01-131-10/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25729 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some useless () and {}reimar2008-01-131-16/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25728 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplifyreimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25727 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use AV_WB16 instead of ugly memcpy hacksreimar2008-01-131-10/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25726 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use AV_RB* instead of custom variants.reimar2008-01-131-19/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25725 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use sizeof instead of size variables/definesreimar2008-01-131-16/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25724 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make some pnm data constreimar2008-01-131-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25723 b3059339-0415-0410-9bf9-f77b7e298cf2
* dvb_demuxdev etc. are only used in dvb_tune.c so make them staticreimar2008-01-131-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25722 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make several arrays constreimar2008-01-131-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25721 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some unused extern variablesreimar2008-01-131-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25720 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream_opts should be constreimar2008-01-1313-13/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25719 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream_info_t opts and protocols point to constant data as well.reimar2008-01-131-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25718 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make all tvi_info_t constreimar2008-01-136-10/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25717 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make some tvi_functions_t pointers const that I forgot to change beforereimar2008-01-131-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25716 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless ifdefsreimar2008-01-131-8/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25715 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add type to extern declarationreimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25714 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make dvd_audio_stream_types and dvd_audio_stream_channels constreimar2008-01-131-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25713 b3059339-0415-0410-9bf9-f77b7e298cf2
* tvi_functions_t should be constreimar2008-01-132-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25712 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add forgotten const for pal_ireland.reimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25711 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary <signal.h> includesuau2008-01-092-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25654 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix illegal identifiers, names starting with __ are reserved for the system.diego2008-01-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25648 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix illegal identifiers: Names starting with __ or _ and uppercase are reserveddiego2008-01-061-4/+4
| | | | | | | for the system, names starting with _ are reserved at file level. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25635 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented _ANGLE STREAM_CTRLs, patch by oattila chello hu nicodvb2008-01-051-0/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25602 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented _ANGLE STREAM_CTRLs, patch by oattila chello hu nicodvb2008-01-051-0/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25601 b3059339-0415-0410-9bf9-f77b7e298cf2
* NEW STREAM_CTRLs: STREAM_CTRL_GET_NUM_ANGLES STREAM_CTRL_GET_ANGLE ↵nicodvb2008-01-051-0/+3
| | | | | | STREAM_CTRL_SET_ANGLE git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25600 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed bug when playing multi-angle titles: the address field in the agli datanicodvb2008-01-051-1/+2
| | | | | | | | of the current angle must be != 0x7fffffff to be skippable; patch by oattila chello hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25597 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add multiple inclusion guards to all header files that lack them.diego2008-01-014-0/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25581 b3059339-0415-0410-9bf9-f77b7e298cf2
* consistency cosmeticsdiego2008-01-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25575 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explanatory comments to #endif preprocessor directives.diego