summaryrefslogtreecommitdiffstats
path: root/libmpdemux
Commit message (Collapse)AuthorAgeFilesLines
* Fix a few minor spelling errors in comments.corey2006-06-052-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18590 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable unsecure dumping of generic track with -v -v -vrtogni2006-06-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18584 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for dts (identified only by the PMT, not from the bitstream)nicodvb2006-06-041-1/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18566 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed wrong assignment of stream type in generic PES_PRIVATE1 streams ↵nicodvb2006-06-041-1/+1
| | | | | | (didn't respect the type qualified in the PMT) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18565 b3059339-0415-0410-9bf9-f77b7e298cf2
* one more a52 descriptor (dvb impl., untested)nicodvb2006-06-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18564 b3059339-0415-0410-9bf9-f77b7e298cf2
* configurable tuning timeoutnicodvb2006-06-043-14/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18562 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential integer overflows in memory allocation.rtogni2006-06-0422-46/+86
| | | | | | | Patch by Rich and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18559 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove now obsolete .cvsignore files.diego2006-06-021-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
* metadata supportmichael2006-05-301-1/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18555 b3059339-0415-0410-9bf9-f77b7e298cf2
* psm longer than 1018 bytes is not allowed, thus invalidnicodvb2006-05-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18550 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix:rathann2006-05-143-4/+4
| | | | | | | | frequencies.c:1168: warning: initialization discards qualifiers from pointer target type dvbin.c:843: warning: assignment from incompatible pointer type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18514 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix parsing of vobsub private data, patch by Evgeniy Stepanov <eugeni P ↵gpoirier2006-05-141-0/+1
| | | | | | | | | | | stepanov A gmail P com> Original thread: Date: May 14, 2006 12:28 AM Subject: [MPlayer-dev-eng] [BUG][PATCH] parsing of vobsub private data in mkv probably broken git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18508 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix some potential integer overflow in memory allocation (mot of thesertognimp2006-05-142-7/+12
| | | | | | | were probably safe or disabled anyway) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18506 b3059339-0415-0410-9bf9-f77b7e298cf2
* missing argument for mp_msg, fixes:rathann2006-05-131-1/+1
| | | | | | | demux_mov.c:1159: warning: too few arguments for format git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18492 b3059339-0415-0410-9bf9-f77b7e298cf2
* where necesary, replaced all realloc() with realloc_struct() to prevent int ↵nicodvb2006-05-131-4/+14
| | | | | | oveflows git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18476 b3059339-0415-0410-9bf9-f77b7e298cf2
* when searching ac3 in unqualified pes_private1 streams there's no need to ↵nicodvb2006-05-131-0/+3
| | | | | | scan > 64 KB of data: frames can't be so far apart git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18475 b3059339-0415-0410-9bf9-f77b7e298cf2
* prevent memleaknicodvb2006-05-131-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18473 b3059339-0415-0410-9bf9-f77b7e298cf2
* unconditionally stop allocating memory for dvb_channel_t after 1 MB: it's ↵nicodvb2006-05-131-0/+5
| | | | | | unreasonably big git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18472 b3059339-0415-0410-9bf9-f77b7e298cf2
* accidentally committed this overflow fix with the declaration fix before.rfelker2006-05-131-1/+1
| | | | | | | | messed up indention corrected at oded's request. :) 10^100l to me too.. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18469 b3059339-0415-0410-9bf9-f77b7e298cf2
* posix compliance, dont use ancient legacy namerfelker2006-05-132-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18467 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10^100l c++ declarationsrfelker2006-05-131-2/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18466 b3059339-0415-0410-9bf9-f77b7e298cf2
* allocate correct extradata sizenicodvb2006-05-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18465 b3059339-0415-0410-9bf9-f77b7e298cf2
* raised max extradata size and refuse to store more than the limitnicodvb2006-05-121-1/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18463 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't allocate (and demux_push() immediately) demux_packet()s > ↵nicodvb2006-05-121-2/+4
| | | | | | MAX_PACK_SIZE; releasing immediately audio packets (before the pes is complete) doesn't make any sense and deteriorates interleaving git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18462 b3059339-0415-0410-9bf9-f77b7e298cf2
* search ac3 in dvd substream only if pes_aligned flag is set in the pes ↵nicodvb2006-05-121-1/+1
| | | | | | headers, otherwise false positives are likely to occur git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18461 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential integer overflows in memory allocation. Patch by Reimar and ↵rtognimp2006-05-112-15/+41
| | | | | | me, SIZE_MAX by Rich git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18445 b3059339-0415-0410-9bf9-f77b7e298cf2
* unbind demux_ogg from ad_libvorbis; this permits to use -ac ffvorbis without ↵nicodvb2006-05-101-6/+27
| | | | | | crashes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18431 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved code to set aspect ratio for mpeg12 away from video.c and into decoder ↵nicodvb2006-05-101-1/+0
| | | | | | files; A/R changes work correctly with -vc mpeg12 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18429 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unconditionally compile the Matroska demuxer.diego2006-05-084-11/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18405 b3059339-0415-0410-9bf9-f77b7e298cf2
* COSMETICS: moved code to parse mpeg1/2 A/R to mpeg_hdr.cnicodvb2006-05-073-28/+35
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18399 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for vfps OGM filesdiego2006-05-061-1/+3
| | | | | | | patch by Elphel Inc. (blessed by Roberto) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18395 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix calculation of stream sizes when they are too big for a 32-bit variablepacman2006-05-061-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18394 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed %d->PRIu64 in read_mpeg_timestamp()nicodvb2006-05-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18383 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream_read_word() returns _unsigned_ intnicodvb2006-05-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18382 b3059339-0415-0410-9bf9-f77b7e298cf2
* in read_mpeg_timestamp() cast int expression to uint64_t before shifting to ↵nicodvb2006-05-031-1/+1
| | | | | | avoid truncation of bits and to prevent propagation of bit 1 as sign bit in pts git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18381 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100000l to the fools who don't know Crfelker2006-05-014-4/+4
| | | | | | | | | These were all found while auditing for malloc(A*B) type bugs. Removing them makes it easier to find real incorrect usage and makes the code more readable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18367 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change common pts variables from floats to doubles. Individual demuxersuau2006-04-273-9/+10
| | | | | | | should be changed later. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18310 b3059339-0415-0410-9bf9-f77b7e298cf2
* Increase HEADER_SEARCH_SIZE, fixes high-bitrate streams from demoscene.tv.diego2006-04-241-1/+1
| | | | | | | noticed by Soeren Sonnenburg, mplayer-ml -- at -- nn7 -- dot -- de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18252 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed more unused stuffnicodvb2006-04-241-7/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18250 b3059339-0415-0410-9bf9-f77b7e298cf2
* when muxing mpeg audio streams analyze the first 32 KB of data to obtain the ↵nicodvb2006-04-241-3/+51
| | | | | | most likely correct layer, otherwise every misdetection during parse_audio() will lead to wrong timestamps and loss of synchrony git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18249 b3059339-0415-0410-9bf9-f77b7e298cf2
* 4 - Implement a better way to calculate current audio pts and use it forrtognimp2006-04-243-0/+24
| | | | | | | | | audio decoded with ad_libvorbis, ad_ffmpeg and ad_faad. Patch by Uoti Urpala git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18243 b3059339-0415-0410-9bf9-f77b7e298cf2
* 3 - Move a definition of MP_NOPTS_VALUE from muxer.h to demuxer.h tortognimp2006-04-242-6/+1
| | | | | | | | | make it available in more files (needed for next patch). Patch by Uoti Urpala git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18242 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplified parse_audio()nicodvb2006-04-241-72/+63
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18239 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get ride of the several if(identify) messy lines and rearangment of some of ↵reynaldo2006-04-2411-115/+70
| | | | | | the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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