summaryrefslogtreecommitdiffstats
path: root/libmpdemux
Commit message (Collapse)AuthorAgeFilesLines
* Do not give bogus timestamps for laced packets with no default duration. ↵mosu2006-04-241-0/+4
| | | | | | Patch by Uoti Urpala ( uoti ! urpala () pp1 ! inet ! fi ). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18237 b3059339-0415-0410-9bf9-f77b7e298cf2
* resource leak fix.gpoirier2006-04-231-0/+3
| | | | | | | | | | | detected by Covertity's checker: CID: 154 Checker: RESOURCE_LEAK Description: Returned without freeing storage "cddb_info" git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18226 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename some forgotten #ifdef STREAMING_LIVE_DOT_COM to STREAMING_LIVE555.diego2006-04-231-3/+3
| | | | | | | patch by Lyakhovets Andrey, lyakhovets <<@>> rovercomputers <<.>> ru git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18220 b3059339-0415-0410-9bf9-f77b7e298cf2
* Partially revert 1.140, restoring the old behaviour for all codecsrtognimp2006-04-231-2/+5
| | | | | | | except for twos and sowt. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18219 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed more unused code and struct membersnicodvb2006-04-221-17/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18201 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused variablesnicodvb2006-04-221-6/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18200 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved inline at beginning of declarationnicodvb2006-04-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18198 b3059339-0415-0410-9bf9-f77b7e298cf2
* finally replaced the old interleaving with the new one that respects ↵nicodvb2006-04-221-591/+137
| | | | | | buffering and [pd]ts<->scr constraints; don't check spriv->framebuf_used in find_best_stream() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18197 b3059339-0415-0410-9bf9-f77b7e298cf2
* introduced new functions to handle pack writing and interleaving strategy ↵nicodvb2006-04-221-0/+351
| | | | | | (will soon replace current ones) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18193 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed muxrates for xvcd and xsvcdnicodvb2006-04-221-4/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18188 b3059339-0415-0410-9bf9-f77b7e298cf2
* audio init code was previously moved to fix_parameters() so removed from ↵nicodvb2006-04-221-18/+0
| | | | | | write_chunk() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18187 b3059339-0415-0410-9bf9-f77b7e298cf2
* introduced structures and code to keep track of decoder's buffers sizesnicodvb2006-04-221-0/+88
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18184 b3059339-0415-0410-9bf9-f77b7e298cf2
* new code to simplify assignment of timestamps; removed temp_ref from ↵nicodvb2006-04-221-258/+133
| | | | | | mpeg_frame_t and modified add_frame() accordingly; removed no more used drop_delayed_audio() and save_delayed_audio() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18182 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part3 of Otvos Attila's oattila AT chello-hu mp_msg changes, with lots of ↵reynaldo2006-04-2211-17/+23
| | | | | | modifications as usual git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18177 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement getting colors. The mapping between MPlayer's gamma rangealbeu2006-04-211-17/+24
| | | | | | | | (-100/100) and v4l's range (0-65535) had to be changed a bit to avoid rounding errors. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18174 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement tv_get_color_options() and make tv_set_color_options() returnalbeu2006-04-212-9/+27
| | | | | | | mainfull values. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18173 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed useless (and broken as hell) buffering code from muxer1; buffering ↵nicodvb2006-04-201-42/+1
| | | | | | constraints will be fully respected when one of the forthcoming patches is applied git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18167 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed skip_padding (never used and totally useless)nicodvb2006-04-201-11/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18166 b3059339-0415-0410-9bf9-f77b7e298cf2
* added support for DX50 and dx50 4CCsnicodvb2006-04-201-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18165 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed wrong operator precedence in parse_mpeg4_video()nicodvb2006-04-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18164 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplified code to patch the video framerate (removed silly comparisons)nicodvb2006-04-201-11/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18163 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed timebase from 1024 to 300 (no rounding errors with any of the ↵nicodvb2006-04-201-73/+55
| | | | | | allowed framerates); write scr_extension accordingly. This is the first of a long series of patches to rewrite the muxer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18162 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make the RTP demuxer work with libdvdread 0.9.5.diego2006-04-181-1/+1
| | | | | | | | | | ifo_types.h needs the macros UINT8_MAX UINT16_MAX and INT32_MAX, in stdint.h, which are not defined when the language is C++ unless __STDC_LIMIT_MACROS is defined. patch by Emanuele Giaquinta, emanuele <<.>> giaquinta <<@>> gmail <<.>> com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18138 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixes decoding demoscene.tv nsv at http://213.186.36.129:8000gpoirier2006-04-171-1/+1
| | | | | | | Fix suggested by Reimar, patch by RC. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18129 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use ULL for > 32 bits constant.reimar2006-04-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18118 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove completely pointless != NULL checkreimar2006-04-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18116 b3059339-0415-0410-9bf9-f77b7e298cf2
* always cast stream IDs to unsigned before comparing to MAX_STREAMS.reimar2006-04-151-4/+4
| | | | | | | 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
* 10l, keyframes must have tag 0x10, not 1.reimar2006-04-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18097 b3059339-0415-0410-9bf9-f77b7e298cf2
* missing free in case sdpplin_parse_stream returns invalid stream.reimar2006-04-141-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18096 b3059339-0415-0410-9bf9-f77b7e298cf2
* free memory on error in http_add_basic_authenticationreimar2006-04-141-6/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18095 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove vts_no parameter from mp_get_titleset_length - it is not only useless,reimar2006-04-141-6/+3
| | | | | | | | it also breaks STREAM_CTRL_GET_TIME_LENGTH. Patch by kiriuja {mplayer-patches at en-directo net} git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18092 b3059339-0415-0410-9bf9-f77b7e298cf2
* missing ifoClose and return 1. Patch by kiriuja (mplayer-patches at ↵reimar2006-04-121-0/+4
| | | | | | en-directo net) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18079 b3059339-0415-0410-9bf9-f77b7e298cf2
* timestamps are 33 bits long, so they don't fit in an unsigned int; 10lnicodvb2006-04-111-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18078 b3059339-0415-0410-9bf9-f77b7e298cf2
* try to detect flac bitrate early on to avoid division by zero problems.reimar2006-04-111-2/+16
| | | | | | | Should also help with mencoder and -oac copy git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18076 b3059339-0415-0410-9bf9-f77b7e298cf2
* check wav header length against upper limit, should protect againstreimar2006-04-111-0/+8
| | | | | | | some misdetections (esp. with text files). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18075 b3059339-0415-0410-9bf9-f77b7e298cf2
* make failures during e.g. setting the TV norm non-fatal.reimar2006-04-113-4/+2
| | | | | | | Makes some (crappy *g*) USB cameras work with MPlayer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18074 b3059339-0415-0410-9bf9-f77b7e298cf2
* make sure the check for valid timestamps does not accidentially search throughreimar2006-04-101-2/+10
| | | | | | | | several hundered MB (e.g. happens under MinGW with certain DVDs due to movi_end overflowing). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18073 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not print the title length from a non-matching titleset.reimar2006-04-101-0/+2
| | | | | | | Fixes ID_DVD_TITLE_.._LENGTH appearing multiple times, and only once != 0. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18072 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoid cache fill status overflow with caches > ca. 20 MBreimar2006-04-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18068 b3059339-0415-0410-9bf9-f77b7e298cf2
* make sure the indx chunk is big enough to hold the basic structure.iive2006-04-061-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18053 b3059339-0415-0410-9bf9-f77b7e298cf2
* use calloc instead of malloc - simplifies code and fixes overflow problems.reimar2006-04-061-6/+2
| | | | | | | Path by Bjorn Sandell (biorn at chalmers se) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18052 b3059339-0415-0410-9bf9-f77b7e298cf2
* zero sized frames are not keyframesmichael2006-04-061-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18051 b3059339-0415-0410-9bf9-f77b7e298cf2
* Limit the number of entires to the amount that does fit into the chunk.iive2006-04-061-0/+5
| | | | | | | the function need rewrite as it assumes quite many things that are not guaranteed by the specifications. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18050 b3059339-0415-0410-9bf9-f77b7e298cf2
* workaround to prevent segfault: when using -ve lavc with b-frames ↵nicodvb2006-04-051-0/+2
| | | | | | write_chunk(1st video frame) gets called with len=-1UL; -1ULl to whomever calls me that way git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18045 b3059339-0415-0410-9bf9-f77b7e298cf2
* segfault fix: assign param->apid (that is the audio id found) when ↵nicodvb2006-04-051-0/+1
| | | | | | inexistent audio language is specified; patch by Erik Auerswald auerswal a unix-ag d uni-kl d de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18044 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix RealAudio codecs (add descrambling)rtognimp2006-04-031-10/+151
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18037 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l: huge amount of constant crap in data segmentrfelker2006-04-033-23/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18033 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove mpdvdkit1 cruft from the build system.diego2006-04-021-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18022 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-303-6/+8
| | | | | | | | | 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-293-66/+79
| | | | | | | be. Also cleanup a bit signedness. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17993 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100L to who wrote this. Also fix broken headers while at it.albeu2006-03-291-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17991 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix passing qdm2 extradata to lavc decoderrtognimp2006-03-271-1/+5
| | | | | | | | It was broken in rev 1.142, that code does not behave the same as the old one in some cases git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17983 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert printfs in aviprint.c to mp_msg and give the information printingdiego2006-03-278-126/+126
| | | | | | | functions in this file a verbosity_level parameter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17978 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove superfluous extern variable declaration.diego2006-03-271-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17971 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a/v desync for real some filesrtognimp2006-03-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17961 b3059339-0415-0410-9bf9-f77b7e298cf2
* H264: when fixed_fps is set the framerate is expressed in fields per second, ↵nicodvb2006-03-251-0/+2
| | | | | | so it must be halved git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17953 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Shorten overly long lines, put SRCS/OBJS on individual linesdiego2006-03-251-1/+5
| | | | | | | to ease patching in the future. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17944 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert all if(verbose>X) to mp_msg_test calls.diego2006-03-2413-39/+35
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for playing RealVideo on PPC/big endian processors. Patch by Emanuele ↵mosu2006-03-221-0/+14
| | | | | | Giaquinta (emanuele ! giaquinta () gmail ! com). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17924 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, checking for NULL after dereferencing makes no sense (though what is ↵reimar2006-03-221-1/+2
| | | | | | this check for anyway?) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17914 b3059339-0415-0410-9bf9-f77b7e298cf2
* retrieve metadata from FLAC files (patch by Benjamin Zores < ben _at_ ↵aurel2006-03-201-0/+145
| | | | | | geexbox.org >) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17899 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use ptr when it's NULL. CID 89rtognimp2006-03-191-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17895 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation with stupid C++ compilers that shock on valid Calbeu2006-03-161-1/+1
| | | | | | | constructs in an extern "C" { }. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17881 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move the subread from FILE to stream_t.albeu2006-03-161-0/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17880 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a potential seek failure, fill_buffer doesn't have toalbeu2006-03-161-2/+4
| | | | | | | fill the whole buffer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17879 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try several formats instead of only YV12 if no format was explicitlyalbeu2006-03-141-1/+22
| | | | | | | | requested. Patch from Benjamin Zores <ben -at- geexbox -dot- org> with a few whitespace changes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17863 b3059339-0415-0410-9bf9-f77b7e298cf2
* le2me_32 is not necessary, tested by Diego on BE machinerathann2006-03-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17861 b3059339-0415-0410-9bf9-f77b7e298cf2
* in24/in32/fl32 little/big-endian QuickTime PCM audio supportrathann2006-03-131-3/+19
| | | | | | | approved by rxt git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17859 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix seeking with cache enabled on systems using fork().albeu2006-03-131-66/+68
| | | | | | | | | | | | | | The first data connection was opened at open time which happend in the main process. This prevented properly closing the connection on later seeks as they happend in the child process and the fd was still open in the parent process. The fix delay opening the data connection upon the first fill_buffer/seek. Also remove some code duplication, add a timeout on read from the control connection and a few other small fixes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17855 b3059339-0415-0410-9bf9-f77b7e298cf2
* recommitted version 1.22 + Rich's 1.25nicodvb2006-03-131-9/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17847 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation error introduced by last commitreimar2006-03-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17841 b3059339-0415-0410-9bf9-f77b7e298cf2
* unified failure case in muxer_new_muxer()nicodvb2006-03-121-22/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17840 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix feature pragma length checkreimar2006-03-121-8/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17838 b