summaryrefslogtreecommitdiffstats
path: root/libmpdemux
Commit message (Collapse)AuthorAgeFilesLines
* demuxer.c: Remove useless codeuau2007-10-251-21/+17
| | | | | | | | Remove "while(1) { }" around two instances of code that always do "return" in the loop body. No functionality changes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24854 b3059339-0415-0410-9bf9-f77b7e298cf2
* add support for wavpack into matroskaaurel2007-10-212-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24833 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused code and fix warning:diego2007-10-211-14/+0
| | | | | | | demux_real.c:147: warning: 'skip_str' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24827 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark constant argument of mp_header_process_sequence_header as such.diego2007-10-192-2/+2
| | | | | | | | | fixes warning: vd_mpegpes.c: In function 'decode': vd_mpegpes.c:49: warning: passing argument 2 of 'mp_header_process_sequence_header' discards qualifiers from pointer target type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24812 b3059339-0415-0410-9bf9-f77b7e298cf2
* add nellymoser codec to mplayer with internal fourcc NELLcompn2007-10-161-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24792 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add -lavfdopts cryptokeyreimar2007-10-141-0/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24785 b3059339-0415-0410-9bf9-f77b7e298cf2
* support Y800 in raw videodiego2007-10-131-0/+1
| | | | | | | patch by Attila Ötvös, oattila chello hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24768 b3059339-0415-0410-9bf9-f77b7e298cf2
* in update_stats() removed a wrong 'else' that would prevent h264 headers to ↵nicodvb2007-10-041-1/+1
| | | | | | | | | | be recognized: all 0x12x headers were accounted for only in num_elementary_packets12x. Fixes detection of certain H264 in ES/PS streams git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24701 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix missing subtitles after seeking backuau2007-10-041-0/+1
| | | | | | | | | | | | | | Subtitle packets that had been demuxed but whose start time had not yet been reached were left in the demuxer stream after seeking. When using the default (non-libass) subtitle rendering this could block subtitles from appearing as long as the playback position stayed below the original one before seek. External subtitle files were not affected. Fixed by making seek code free all packets from the subtitle stream. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24698 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for DTS as specified in DVB (untested)nicodvb2007-10-031-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24696 b3059339-0415-0410-9bf9-f77b7e298cf2
* Format 0x01 cannot be used with "AMV IMA ADPCM", because it belongs to ↵voroshil2007-10-031-0/+2
| | | | | | | | | | normal PCM. Make lavf demuxer set codec tag to AMVA in this case. No need to use -ac +ffadpcmimaamva anymore. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24694 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set biWidth/biHeight in fli demuxerreimar2007-10-021-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24688 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure there is no uninitialized data in BITMAPINFOHEADER created by fli ↵reimar2007-10-021-1/+1
| | | | | | demuxer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24687 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove ugly unused struct name from typedefreimar2007-10-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24686 b3059339-0415-0410-9bf9-f77b7e298cf2
* AMV demuxer and audio/video decodervoroshil2007-09-301-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24673 b3059339-0415-0410-9bf9-f77b7e298cf2
* analyzeduration option for lavf demuxerhenry2007-09-291-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24655 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove useless int->double conversionhenry2007-09-291-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24654 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix warningshenry2007-09-291-1/+1
| | | | | | | | | demux_lavf.c: In function ‘demux_open_lavf’: demux_lavf.c:276: warning: assignment discards qualifiers from pointer target type demux_lavf.c:280: warning: assignment discards qualifiers from pointer target type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24653 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed bug introduced with previous commit: patch_panscan() must work in the ↵nicodvb2007-09-281-1/+1
| | | | | | sequence_display_extension, not on se_ptr git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24651 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l, the tff flag was never cleared before being overwritten with the ↵nicodvb2007-09-281-2/+4
| | | | | | | | | | | value on bff_mask; also, the sequence extension pointer was set to point to the sequence_display_extension, so the progressive_sequence was never set and the sde was being corrupted patch by Christopher Montgomery (xhiphmont xiph org) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24650 b3059339-0415-0410-9bf9-f77b7e298cf2
* h263 exposedlu_zero2007-09-281-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24645 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix playback of streams with more than one audio track (only one supported).cehoyos2007-09-251-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24618 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify: initialize at declaration at the start of the functionreimar2007-09-241-10/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24612 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of rather pointless assertsreimar2007-09-241-12/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24611 b3059339-0415-0410-9bf9-f77b7e298cf2
* demux_audio.c: Fix timestamp handlinguau2007-09-241-14/+15
| | | | | | | | | | | | | | | | | | The code calculated the pts values of audio packets by adding the length of the current packet to the pts of the previous one. The length of the previous packet should be added instead. This broke WAV timestamps near the end of the stream where a short packet occurs. Change the code to store the pts of the next packet instead of the last one. This fixes the WAV timestamps and allows some simplifications. MP3 timestamps are not affected as packets are always treated as constant decoded length, and FLAC timestamps still have worse problems (FLAC is treated as as if it was constant bitrate even though it isn't). Also store the timestamps as double instead of float. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24609 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused function parametersnicodvb2007-09-221-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24590 b3059339-0415-0410-9bf9-f77b7e298cf2
* in ts_detect_streams() moved the iteration condition inside the loopnicodvb2007-09-221-1/+4
| | | | | | | | because it depends on the updated value of stream_tell(); (fixes infinite wait on enctrypted TS streams) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24589 b3059339-0415-0410-9bf9-f77b7e298cf2
* libnemesi support, yet another rtsp/rtp library...lu_zero2007-09-194-1/+487
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24584 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add comment that clears up what _WINGDI_H is for.diego2007-09-181-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24570 b3059339-0415-0410-9bf9-f77b7e298cf2
* reverted useless r24539ben2007-09-151-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24540 b3059339-0415-0410-9bf9-f77b7e298cf2
* added monkey audio fourcc in wave headerben2007-09-151-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24539 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for cook audio (though most .rm files don't work with lavfreimar2007-09-151-0/+1
| | | | | | | demuxer anyway) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24538 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid one more code duplicationreimar2007-09-151-17/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24527 b3059339-0415-0410-9bf9-f77b7e298cf2
* get rid of pointless size parameter for tmf_load_chunkreimar2007-09-151-8/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24526 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid using demux->stream->end_pos, it rarely does any good.reimar2007-09-151-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24525 b3059339-0415-0410-9bf9-f77b7e298cf2
* Slightly simplify IsValidAudioPacketreimar2007-09-151-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24524 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify another two ifs into onereimar2007-09-151-7/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24523 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make one mp_msg call out of 3reimar2007-09-151-17/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24522 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simpler and more robust tar parsingreimar2007-09-151-26/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24521 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of bloated ty_extension functionreimar2007-09-151-11/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24520 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not uselessly name structsreimar2007-09-151-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24519 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove another variable and reorder to avoid wasting space due to alignmentreimar2007-09-151-5/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24518 b3059339-0415-0410-9bf9-f77b7e298cf2
* PTS should be passed as int64_t to demux_ty_CopyToDemuxPacketreimar2007-09-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24517 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove now useless parameters from demux_ty_CopyToDemuxPacketreimar2007-09-151-6/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24516 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove more unused code and variablesreimar2007-09-151-10/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24515 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix typo in function name.diego2007-09-151-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24514 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert r24446 since it breaks mingw32 build: _WINGDI_H is defined in wingdi.hzuxy2007-09-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24510 b3059339-0415-0410-9bf9-f77b7e298cf2
* live recordings can contain 0-size type 0 chunks, ignore them insteadreimar2007-09-141-1/+1
| | | | | | | of erroring out. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24509 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move some more variable declarationsreimar2007-09-141-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24508 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove tabs and trailing whitespacereimar2007-09-141-124/+124
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24507 b3059339-0415-0410-9bf9-f77b7e298cf2
* A few more useless ()reimar2007-09-141-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24506 b3059339-0415-0410-9bf9-f77b7e298cf2
* Minor simplificationsreimar2007-09-141-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24505 b3059339-0415-0410-9bf9-f77b7e298cf2
* Further simplify demux_ty_FindESHeaderreimar2007-09-141-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24504 b3059339-0415-0410-9bf9-f77b7e298cf2
* Optimize demux_ty_FindESHeaderreimar2007-09-141-8/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24503 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some commented-out debugging codereimar2007-09-141-29/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24502 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix demux_ty_FindESHeader so it won't overreadreimar2007-09-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24501 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify demux_ty_FindESPacket by reusing demux_ty_FindESHeaderreimar2007-09-141-32/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24500 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused demux_ty_FindESPacket parameterreimar2007-09-141-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24499 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify demux_ty_FindESHeaderreimar2007-09-141-12/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24498 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move variable declarations into the block where they are usedreimar2007-09-141-19/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24497 b3059339-0415-0410-9bf9-f77b7e298cf2
* Another piece of duplicate codereimar2007-09-141-13/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24496 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid a big piece of duplicated codereimar2007-09-141-52/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24495 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of more code duplicationreimar2007-09-141-35/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24494 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify XDS handlingreimar2007-09-141-12/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24493 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce code duplicationreimar2007-09-141-21/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24492 b3059339-0415-0410-9bf9-f77b7e298cf2
* Greatly simplify IsValidAudioPacket, though this might break somethingreimar2007-09-141-30/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24491 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify IsValidAudioPacketreimar2007-09-141-9/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24490 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not misuse a_streams for private info, demuxer->priv is for that!reimar2007-09-141-22/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24489 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use AV_RB24reimar2007-09-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24488 b3059339-0415-0410-9bf9-f77b7e298cf2
* get rid of pointless pesFileId variablesreimar2007-09-141-19/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24487 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify AV_RB32 / 256 -> AV_RB24reimar2007-09-141-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24486 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use AV_RB32 instead of tivobuffer2hostlongreimar2007-09-141-12/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24485 b3059339-0415-0410-9bf9-f77b7e298cf2
* Yet more cosmeticsreimar2007-09-141-23/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24484 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move timestamps to int64_t and use MP_NOPTS_VALUEreimar2007-09-141-29/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24483 b3059339-0415-0410-9bf9-f77b7e298cf2
* Demuxers are _not_ supposed to set ds->pts!reimar2007-09-141-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24482 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix completely broken get_ty_pts (it's an ordinary MPEG timestamp)reimar2007-09-141-15/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24481 b3059339-0415-0410-9bf9-f77b7e298cf2
* Another ty simplificationreimar2007-09-141-8/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24480 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variablereimar2007-09-141-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24479 b3059339-0415-0410-9bf9-f77b7e298cf2
* tmf_totalsize is not used either, remove itreimar2007-09-141-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24478 b3059339-0415-0410-9bf9-f77b7e298cf2