summaryrefslogtreecommitdiffstats
path: root/libmpdemux
Commit message (Collapse)AuthorAgeFilesLines
* Only MAX_STREAMS streams are allowed (cid 115)rtognimp2006-03-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17811 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix memory leak cid 176rtognimp2006-03-101-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17806 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix memory leak cid 177rtognimp2006-03-101-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17805 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix leak on read error (forgot to free demux packet)reimar2006-03-091-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17791 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix minor (i.e. unlikely to ever happen) leak when init failsreimar2006-03-091-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17790 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential read from an unitialized pointer (CID: 236)rtognimp2006-03-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17789 b3059339-0415-0410-9bf9-f77b7e298cf2
* in demux_ogg_read_packet initialize data to whole packet, reduces code andreimar2006-03-081-5/+2
| | | | | | | fixes missing initialization in else + header packet case. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17786 b3059339-0415-0410-9bf9-f77b7e298cf2
* name array is too small, use strlcpy instead of strncpyreimar2006-03-081-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17785 b3059339-0415-0410-9bf9-f77b7e298cf2
* Missing free_demux_packet after read errorreimar2006-03-081-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17780 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix base64 encoding for basic auth according to RFC.reimar2006-03-081-4/+8
| | | | | | | Patch by Jeff D'Angelo (jcd+mplayer at psu edu). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17779 b3059339-0415-0410-9bf9-f77b7e298cf2
* missing url_free when using proxy and connect failsreimar2006-03-081-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17778 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream_id == MAX_STREAMS is invalid, since counting starts with 0.reimar2006-03-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17777 b3059339-0415-0410-9bf9-f77b7e298cf2
* "i < sizeof(buf)" must be "i < sizeof(buf) - 5", since later buf[i + 5] is used.reimar2006-03-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17776 b3059339-0415-0410-9bf9-f77b7e298cf2
* If we have a tuner, use that as a reason we have audio support, and doaurel2006-03-081-3/+2
| | | | | | | | not depend on audioset. (patch by Jesse Allen <the3dfxdude _at_ gmail.com>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17766 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce output verbosity in non-verbose mode, change some printf to mp_msg.diego2006-03-061-37/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17757 b3059339-0415-0410-9bf9-f77b7e298cf2
* print ts_probe; 0x88 .. 0x8F in pes_private streams are not AC3 but DTS ↵nicodvb2006-03-041-2/+4
| | | | | | tracks (unsupported); save the size of the payload of the current PES packet in any case (used for ac3 detection) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17725 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch fixes pcm (twos, swot) in MOV.rtognimp2006-03-021-2/+2
| | | | | | | | | | This fix playing samples produced by ffmpeg(which set correct values), and many samples in archive. Patch by Baptiste COUDURIER | baptiste . coudurier )( smartjog . com | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17717 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed reference to inexistent extern variablenicodvb2006-03-011-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17714 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream_control() returns int, not voidnicodvb2006-03-012-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17713 b3059339-0415-0410-9bf9-f77b7e298cf2
* try to get duration from the stream layer, if an implementation of ↵nicodvb2006-02-271-0/+8
| | | | | | STREAM_CTRL_GET_TIME_LENGTH is available git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17700 b3059339-0415-0410-9bf9-f77b7e298cf2
* implement STREAM_CTRL_GET_TIME_LENGTH to return the duration of the dvd ↵nicodvb2006-02-271-19/+60
| | | | | | currently playing git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17699 b3059339-0415-0410-9bf9-f77b7e298cf2
* added cur_title to dvd_priv_t in order to keep track of dvd title currently ↵nicodvb2006-02-271-0/+1
| | | | | | playing (range 1..N) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17698 b3059339-0415-0410-9bf9-f77b7e298cf2
* added new stream_control() and new command: STREAM_CTRL_GET_TIME_LENGTHnicodvb2006-02-272-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17697 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add audio_delay argument to demux_mkv_seek.corey2006-02-271-3/+3
| | | | | | | Some uspecified amount of sugary caffeineated liquid to me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17696 b3059339-0415-0410-9bf9-f77b7e298cf2
* DVB channels cycling; patch by Ben Zores ben p geekbox d orgnicodvb2006-02-241-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17682 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix video delay when encoding with B-frames.corey2006-02-211-0/+2
| | | | | | | (missed this file) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17661 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix video delay when encoding with B-frames.corey2006-02-211-0/+9
| | | | | | | | | | Encoding delay is adjusted for on-the-fly during encoding. Decoding delay is compensated for by setting an appropriate dwStart on the audio stream (only in muxer_avi at this point). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17660 b3059339-0415-0410-9bf9-f77b7e298cf2
* More complete ASF MIME detection, closing bug# 248,gpoirier2006-02-201-0/+2
| | | | | | | | | | patch by Zuxy Meng < zuxy POIS meng AH gmail.com >, Approved by Bertrand Baudet, who agrees to get the cola shipment. :) Original thread: Date: Nov 2, 2005 7:11 AM Subject: [MPlayer-dev-eng] [PATCH] More complete ASF MIME detection, closing bug# 248 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17658 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allows the LIVE555 library to forces the client's port to be usedbertrand2006-02-191-1/+5
| | | | | | | | | when reading from an RTP/RTSP source. Patch from Benjamin Zores <ben@geexbox.org> and Patrick Labatut <plabatut@gmail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17651 b3059339-0415-0410-9bf9-f77b7e298cf2
* dwStart support for mencoder.corey2006-02-192-0/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17649 b3059339-0415-0410-9bf9-f77b7e298cf2
* dwStart support for mplayer.corey2006-02-182-0/+8
| | | | | | | | | | | | | | | | | | | * demux_avi sets stream_delay according to dwStart * mplayer adjusts audio_delay according to stream_delay 3 related patches are pending, and I will apply them over the next few days if all goes well. As I mentioned on -dev-eng, the funny indentation is in preparation for one of those pending patches. See: Date: Fri, 17 Feb 2006 00:53:28 -0800 To: mplayer-dev-eng@mplayerhq.hu Subject: [PATCH] bframes, dwStart: individual patches git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17644 b3059339-0415-0410-9bf9-f77b7e298cf2
* Second-try commit of this patch.corey2006-02-1729-38/+39
| | | | | | | | | | | | 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
* Don't test the v4l2_input audioset field for audio capabilities but still ↵aurel2006-02-141-14/+6
| | | | | | try changing the mute setting (patch by Jesse Allen < the3dfxdude _at_ gmail.com >) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17627 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow autodetection of pictures type when using mf://@file.list syntaxiive2006-02-141-3/+5
| | | | | | | autodetection is based on first picture instead of the url git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17625 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not forget to initialize dp->bufferhenry2006-02-121-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17612 b3059339-0415-0410-9bf9-f77b7e298cf2
* delay rff by 6, not 3 frames, so the rff will be in the middle of the 12 ↵nicodvb2006-02-121-1/+3
| | | | | | frames sequence git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17604 b3059339-0415-0410-9bf9-f77b7e298cf2
* experimental film2pal and ntsc2pal soft telecinernicodvb2006-02-121-5/+67
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17601 b3059339-0415-0410-9bf9-f77b7e298cf2
* forgotten cast (blows on gcc4)henry2006-02-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17600 b3059339-0415-0410-9bf9-f77b7e298cf2
* we cannot continue without a crash when read_asf_header fails, since somereimar2006-02-121-1/+2
| | | | | | | | memory is allocated in that function (ugly!!). Fixes bug #450, patch by Mikulas Patocka (mikulas at artax karlin mff cuni cz) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17599 b3059339-0415-0410-9bf9-f77b7e298cf2
* add some sanity checks to new/resize_demux_packetreimar2006-02-121-4/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17598 b3059339-0415-0410-9bf9-f77b7e298cf2
* init frame duration to 1/fps when we have a frame but not the enclosing ↵nicodvb2006-02-111-0/+2
| | | | | | sequence header: it's workaround against lavf's demuxer that doesn't sync to seq_hdr unlike mplayer's native demuxers git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17592 b3059339-0415-0410-9bf9-f77b7e298cf2
* tff wasn't correctly unset in soft_telecine()nicodvb2006-02-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17584 b3059339-0415-0410-9bf9-f77b7e298cf2
* add mpc extension so that playback starts faster.reimar2006-02-101-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17581 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reverse commit of unfinished patch for passing audio_delay to the demuxers.corey2006-02-0922-30/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17570 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-0913-17/+17
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix -idx with ODML files (patch by Benjamin Zores < ben _at_ tutuxclan.org >)aurel2006-02-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17565 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix CSeq answer for keepalive OPTIONS requests during playbackrtognimp2006-02-081-2/+2
| | | | | | | | | The CSeq was mispelled as Cseq, so MPlayer alwys answered with CSeq=1 Fixed with help from xiojason on #mplayer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17563 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l 1000 fps fixmichael2006-02-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17557 b3059339-0415-0410-9bf9-f77b7e298cf2
* read data in nBlockAlign aligned chunksreimar2006-02-071-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17555 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1. Include audio_delay as an argument to demux_seek.corey2006-02-0722-29/+30
| | | | | | | | | | | 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
* removed unused variablesnicodvb2006-02-061-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17541 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed wrong delta_frame calculation that would affect soft-telecinenicodvb2006-02-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17540 b3059339-0415-0410-9bf9-f77b7e298cf2
* Build muxers only when MEncoder is enabled.diego2006-02-061-5/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17539 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed forgotten fprintf()nicodvb2006-01-301-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17519 b3059339-0415-0410-9bf9-f77b7e298cf2
* use mp_a52_framesize() when liba52 is not availablenicodvb2006-01-271-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17494 b3059339-0415-0410-9bf9-f77b7e298cf2
* export custom mp_a52_framesize(), needed to parse ac3 frames when liba52 is ↵nicodvb2006-01-271-3/+6
| | | | | | not present; will be moved in a more appropriate place sometimes in the future git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17493 b3059339-0415-0410-9bf9-f77b7e298cf2
* MPlayer OSX port: Add a call to UDFFindFile to verify that we are opening a ↵nplourde2006-01-271-0/+9
| | | | | | valid udf image. Patch by Emanuele Giaquita <emanuele.giaquinta@gmail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17491 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make clean/distclean behave uniformly in all directories.diego2006-01-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
* change muxer_write_chunk() so that pts/dts _could_ be passed from encoder to ↵michael2006-01-267-23/+24
| | | | | | muxer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17488 b3059339-0415-0410-9bf9-f77b7e298cf2
* limits.h for INT_MAXmichael2006-01-251-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17486 b3059339-0415-0410-9bf9-f77b7e298cf2
* correct block alignmichael2006-01-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17485 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix aac in mov/mp4michael2006-01-251-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17483 b3059339-0415-0410-9bf9-f77b7e298cf2
* pass vbv_size & max_rate from encoder to muxer over muxer_stream_t (if this ↵michael2006-01-252-2/+22
| | | | | | | | | | is wrong/silly/10000000l then dont hesitate to flame / reverse) make a few things like mux_rate, mux_max_delay, ... user settable fixed buffer underflow errors when muxing to mpeg-ps git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17481 b3059339-0415-0410-9bf9-f77b7e298cf2
* setting codec_tag unconditionally to FMP4 is a bad idea (breaks mov/mp4)michael2006-01-241-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17480 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cygwin compilation fixdiego2006-01-201-0/+2
| | | | | | | patch by Erik Lunchpail < erik_27can %%@%% yahoo %%.%% com > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17447 b3059339-0415-0410-9bf9-f77b7e298cf2
* suppress error message at eofreimar2006-01-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17421 b3059339-0415-0410-9bf9-f77b7e298cf2
* faster and (IMHO) cleaner code.reimar2006-01-171-56/+39
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17419 b3059339-0415-0410-9bf9-f77b7e298cf2
* function to read from a demuxer up to (and including) the specifiedreimar2006-01-172-0/+37
| | | | | | | 3-byte pattern. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17418 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print some more useful data from header in verbose modertognimp2006-01-151-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17402 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support sipr codec in old RealAudio files.rtognimp2006-01-151-2/+49
| | | | | | | Closes bugzilla #435 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17401 b3059339-0415-0410-9bf9-f77b7e298cf2
*