summaryrefslogtreecommitdiffstats
path: root/stream
Commit message (Collapse)AuthorAgeFilesLines
* Fix possible crashes with invalid SDPs that result in stream descriptionsreimar2009-09-022-1/+4
| | | | | | | not being initialized. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29626 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix several more rtsp-related memleaks.reimar2009-09-023-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29625 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix asmrp_dispose to also free the buffer.reimar2009-09-021-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29624 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use calloc to ensure rmff_new_mdpr returns fully initialized data.reimar2009-09-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29623 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move variable declaration to where it is used.reimar2009-09-021-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29622 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure we do not strdup(NULL), avoids a crash with non-real streams.reimar2009-09-021-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29621 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix several memleaks in real_setup_and_get_headerreimar2009-09-021-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29620 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change real_setup_and_get_header to use goto a single exit path to simplifyreimar2009-09-021-11/+7
| | | | | | | proper freeing of allocated data. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29619 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix file information. Patch by Francesco Lavra, francescolavra interfree itcehoyos2009-08-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29521 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing major contributors to copyright statement.cehoyos2009-08-151-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29520 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix another typo. Patch by Francesco Lavra, francescolavra interfree itcehoyos2009-08-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29470 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add standard GPL license header. Patch by Francesco Lavra, francescolavra ↵cehoyos2009-08-021-0/+22
| | | | | | interfree it git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29468 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix more typos. Patch by Francesco Lavra, francescolavra interfree itcehoyos2009-08-021-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29467 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused include's. Patch by Francesco Lavra, francescolavra interfree itcehoyos2009-08-021-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29466 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix typos. Patch by Francesco Lavra, francescolavra interfree itcehoyos2009-08-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29465 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream/realrtsp/real.c: Fix another integer overflowuau2009-07-281-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29455 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream/realrtsp/real.c: Fix integer overflowuau2009-07-271-0/+2
| | | | | | | Pointed-out-by: tixxDZ <tixxdz at gmail dot com> - DZCORE Labs, Algeria git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29447 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.diego2009-07-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace incorrect use of strncpy by av_strlcpy.reimar2009-06-261-1/+2
| | | | | | | Only a real issue if inet_ntoa can actually return a string of more than 255 bytes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29393 b3059339-0415-0410-9bf9-f77b7e298cf2
* Files should be opened in binary mode on OS/2.diego2009-06-031-3/+3
| | | | | | | patch by KO Myung-Hun, komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29346 b3059339-0415-0410-9bf9-f77b7e298cf2
* Using nl_langinfo in the asf mmst implementation makes no sense sincereimar2009-05-311-8/+1
| | | | | | | | MPlayer does not use setlocale. Just default to UTF-8 as input charset until there is a better solution. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29333 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-1380-966/+966
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reemit the ID_AID_x_LANG for the track. This allows the identification of thediego2009-04-111-3/+10
| | | | | | | | audio track by language code (en or es) rather than by ID (128 or 129). patch by Kevin DeKorte, kdekorte gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29170 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make tvi_v4l2 print -1 as "Current input" if the ioctl to read it failed.reimar2009-04-101-0/+1
| | | | | | | Previously it printed (number of inputs + 1) which is needlessly confusing. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29161 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a -indentify message that indicates if the current DVDNAV title isreimar2009-04-091-2/+5
| | | | | | | | a menu or a video. Patch by Kevin DeKorte [kdekorte gmail com], approved by Nico. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29156 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable along with the related warning.diego2009-04-011-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29122 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, revert r29082, I missed that the vts comparison should be ↵reimar2009-03-281-1/+5
| | | | | | case-insensitive. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29084 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reindentreimar2009-03-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29083 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify extracting title number from ifo namereimar2009-03-281-5/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29082 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify detection of .ifo extension.reimar2009-03-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29078 b3059339-0415-0410-9bf9-f77b7e298cf2
* change close to closesocket, unifies close streaming codecompn2009-03-261-1/+1
| | | | | | | patch by Francesco Cosoleto , cosoleto gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29066 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for mmsh:// as alias for mmshttp://reimar2009-03-261-2/+3
| | | | | | | Patch by Francesco Cosoleto [cosoleto gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29064 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add TVI_CONTROL_VID_SET_WIDTH_HEIGHT to set width and height together for v4l2,reimar2009-03-163-0/+15
| | | | | | | otherwise some drivers will always stay stuck in the lowest resolution. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28975 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l fix calculation of dropped frames, number of frames is time * fps, not ↵reimar2009-03-151-1/+1
| | | | | | time / fps. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28962 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ensure the string we're trying to compare is actually not NULL.ben2009-03-091-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28920 b3059339-0415-0410-9bf9-f77b7e298cf2
* The first valid index is total count - 1 (usually 0)ben2009-03-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28919 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use memset to make sure all parts of struct sockaddr_in are always initialized.reimar2009-02-252-0/+3
| | | | | | | Problem reported by [kmkaplan+mplayer-dev-eng (at) kim kim-minh com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28732 b3059339-0415-0410-9bf9-f77b7e298cf2
* Accept DVB API 5, patch by Steven Brudenell, steven.brudenell gmail com.diego2009-02-221-1/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28702 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace double semicolon by single semicolon.diego2009-02-163-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28611 b3059339-0415-0410-9bf9-f77b7e298cf2
* Restructure network tests: Always check for both inet_aton and inet_pton.diego2009-02-013-25/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28439 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert HAVE_WINSOCK2_H into a 0/1 definition.diego2009-02-0119-40/+40
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28437 b3059339-0415-0410-9bf9-f77b7e298cf2
* HAVE_ATON --> HAVE_INET_ATON to match FFmpeg and give it a 0/1 value.diego2009-02-013-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28435 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert HAVE_CLOSESOCKET and HAVE_SOCKLEN_T into 0/1 definitions.diego2009-02-011-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28434 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a NULL-check that used && instead of || and thus could not avoid crashes.reimar2009-01-251-1/+1
| | | | | | | Patch by Luis Felipe Strano Moraes (luis strano gmail com). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28354 b3059339-0415-0410-9bf9-f77b7e298cf2
* Switch internal dvdread to libdvdread SVN external.reimar2009-01-083-15/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28280 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing 'void' keyword to parameterless function declarations.diego2009-01-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28267 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix DVD seek_to_chapter: the title number must be converted to a per-VTSreimar2009-01-011-0/+9
| | | | | | | title number first. Also add a few out-of-bounds checks just in case. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28226 b3059339-0415-0410-9bf9-f77b7e298cf2
* Work around a dvdread bug where DVDReadBlocks would return values < 0 on ↵reimar2008-12-311-1/+2
| | | | | | | | | | read error, causing hangs e.g. when seeking to the very last chapter (which would read beyond the size of the DVD). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28216 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid u_ BSD type names.diego2008-12-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28197 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace informal GPL notes by standard GPL header.diego2008-12-131-15/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28140 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless 'extern' keywords.diego2008-12-036-15/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move PTHREAD_CACHE define logic to configure.reimar2008-11-281-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28048 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, stream->cache_pid can not be used directly in pthread_create,reimar2008-11-151-1/+5
| | | | | | | it has the wrong type. Luckily we currently do not need the value anyway. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27930 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use pthreads for the cache on Cygwin, since _beginthread is not availablereimar2008-11-151-11/+27
| | | | | | | | and the previous CreateThread method would probably leak memory here, too. Also pthreads seems to be the official Cygwin threading API. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27928 b3059339-0415-0410-9bf9-f77b7e298cf2
* Include cache2.h in cache2.c, fixes an implicit declaration warning for ↵reimar2008-11-141-0/+1
| | | | | | cache_do_control git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27910 b3059339-0415-0410-9bf9-f77b7e298cf2
* set to -1 fds that were closed; handle the sec_fd only if CONFIG_DVB_HEAD ↵nicodvb2008-11-052-3/+3
| | | | | | isn't defined; patch by Reimar git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27897 b3059339-0415-0410-9bf9-f77b7e298cf2
* Intialize unused fd variables to -1 (which is actually invalid) insteadreimar2008-11-041-1/+1
| | | | | | | of 0 (which is stdin and can cause weird side-effects). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27893 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix condition broken in r27401 which incorrectly caused stdin to be closed ↵reimar2008-11-041-1/+1
| | | | | | after playing DVB. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27892 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forgotten reindentreimar2008-11-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27882 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a noicyx:// protocol to allow easier testing for misconfigured servers.reimar2008-11-022-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27881 b3059339-0415-0410-9bf9-f77b7e298cf2
* vfw.h needs a windows.h include before on MinGW64.reimar2008-11-021-0/+1
| | | | | | | Since vfw.h on MinGW32 includes windows.h automatically it should not make a difference there. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27880 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid a memleak if allocation of field_name fails, fixes bug #1319.reimar2008-10-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27868 b3059339-0415-0410-9bf9-f77b7e298cf2
* Conditionally declare a conditionally used variable, fixes the warning:diego2008-10-241-1/+4
| | | | | | | stream/dvb_tune.c:99: warning: unused variable 'sec_dev' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27820 b3059339-0415-0410-9bf9-f77b7e298cf2
* Determine default CD/DVD device in configure instead of using an #ifdef jungle.diego2008-10-211-26/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27809 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace typeof by __typeof__, the former is a non-portable GNU extension.diego2008-10-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27807 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid CreateThread and especially TerminateThread since they cause a memleak.reimar2008-10-191-21/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27804 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless casts.reimar2008-10-191-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27803 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert declaring ThreadProc as void, it breaks the WINAPI.diego2008-10-161-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27790 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move DEFAULT_CDROM_DEVICE/DEFAULT_DVD_DEVICE to stream.h where it belongs.diego2008-10-161-0/+27
| | | | | | | config.h should only contain option definitions, no logic. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27787 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename stream/netstream.h to stream/stream_netstream.h; netstream.h to make itdiego2008-10-162-1/+1
| | | | | | | clearer that netstream.h belongs to stream_netstream.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27779 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.diego2008-10-134-21/+21
| | | | | | | This avoids a pointless indirection that only obscures what is really done. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2
* Declare ThreadProc as void, it does not return anything, fixes the warning:diego2008-10-131-6/+2
| | | | | | | stream/cache2.c:364: warning: control reaches end of non-void function git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27759 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused function, fixes the warning:diego2008-10-131-46/+0
| | | | | | | stream/tvi_dshow.c:1311: warning: 'reconnect_pins' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27758 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unconditionally #include osdep/shem.h, fixes the warnings on Cygwin:diego2008-10-131-1/+1
| | | | | | | | stream/cache2.c:244: warning: implicit declaration of function `shmem_alloc' stream/cache2.c:265: warning: implicit declaration of function `shmem_free' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27757 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move socklen_t typedef from config.h to stream/network.h.diego2008-10-122-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27744 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add debug message about loaded frequency tables.voroshil2008-09-241-1/+2
| | | | | | | | | Replace printed code of input type with user-frendly "broadcast"/"cable" strings. patch from Laurent laurent dot aml at gmail dot com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27662 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make output messages of frequency selection code more useful byvoroshil2008-09-241