nicodvb
280b8e3875
removed skip_padding (never used and totally useless)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18166 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-20 20:53:48 +00:00
nicodvb
a160c8687f
added support for DX50 and dx50 4CCs
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18165 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-20 20:48:55 +00:00
nicodvb
aa0de16882
fixed wrong operator precedence in parse_mpeg4_video()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18164 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-20 20:44:43 +00:00
nicodvb
471dc6e589
simplified code to patch the video framerate (removed silly comparisons)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18163 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-20 20:38:09 +00:00
nicodvb
1cbc74c755
changed timebase from 1024 to 300 (no rounding errors with any of the 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
2006-04-20 20:32:36 +00:00
diego
4016beda76
Make the RTP demuxer work with libdvdread 0.9.5.
...
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
2006-04-18 14:41:41 +00:00
gpoirier
1cfdfe73be
fixes decoding demoscene.tv nsv at http://213.186.36.129:8000
...
Fix suggested by Reimar, patch by RC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18129 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-17 13:47:57 +00:00
reimar
1e390288ed
Use ULL for > 32 bits constant.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18118 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-16 13:45:21 +00:00
reimar
79a05843ee
remove completely pointless != NULL check
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18116 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-16 13:25:14 +00:00
reimar
97efe20cd1
always cast stream IDs to unsigned before comparing to MAX_STREAMS.
...
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
2006-04-15 21:09:29 +00:00
reimar
79e10e452c
10l, keyframes must have tag 0x10, not 1.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18097 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-14 21:08:25 +00:00
reimar
d17ac2d7bf
missing free in case sdpplin_parse_stream returns invalid stream.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18096 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-14 14:10:04 +00:00
reimar
5c51b13785
free memory on error in http_add_basic_authentication
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18095 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-14 13:37:38 +00:00
reimar
3a1d78bc7a
remove vts_no parameter from mp_get_titleset_length - it is not only useless,
...
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
2006-04-14 13:03:05 +00:00
reimar
27ea821577
missing ifoClose and return 1. Patch by kiriuja (mplayer-patches at en-directo net)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18079 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-12 11:19:49 +00:00
nicodvb
e6ab7db3e4
timestamps are 33 bits long, so they don't fit in an unsigned int; 10l
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18078 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-11 20:05:24 +00:00
reimar
827ccaa941
try to detect flac bitrate early on to avoid division by zero problems.
...
Should also help with mencoder and -oac copy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18076 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-11 10:46:52 +00:00
reimar
b72ebc6fb8
check wav header length against upper limit, should protect against
...
some misdetections (esp. with text files).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18075 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-11 10:43:20 +00:00
reimar
5f65c05e35
make failures during e.g. setting the TV norm non-fatal.
...
Makes some (crappy *g*) USB cameras work with MPlayer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18074 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-11 10:19:53 +00:00
reimar
aaf067719b
make sure the check for valid timestamps does not accidentially search through
...
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
2006-04-10 16:18:17 +00:00
reimar
3e489b2da7
do not print the title length from a non-matching titleset.
...
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
2006-04-10 16:16:33 +00:00
reimar
ed8211b89c
avoid cache fill status overflow with caches > ca. 20 MB
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18068 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-09 18:16:29 +00:00
iive
37b31c74a8
make sure the indx chunk is big enough to hold the basic structure.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18053 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-06 21:49:12 +00:00
reimar
9641a1433c
use calloc instead of malloc - simplifies code and fixes overflow problems.
...
Path by Bjorn Sandell (biorn at chalmers se)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18052 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-06 20:56:35 +00:00
michael
9ec42a7e3f
zero sized frames are not keyframes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18051 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-06 20:36:39 +00:00
iive
64159b23f8
Limit the number of entires to the amount that does fit into the chunk.
...
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
2006-04-06 20:04:02 +00:00
nicodvb
ecdfed5122
workaround to prevent segfault: when using -ve lavc with b-frames 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
2006-04-05 20:51:35 +00:00
nicodvb
7d8d007650
segfault fix: assign param->apid (that is the audio id found) when 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
2006-04-05 18:50:24 +00:00
rtognimp
ca10cc19a5
Fix RealAudio codecs (add descrambling)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18037 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-03 19:41:17 +00:00
rfelker
20674f6d49
10l: huge amount of constant crap in data segment
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18033 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-03 06:38:55 +00:00
diego
c35708cbf1
Remove mpdvdkit1 cruft from the build system.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18022 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-02 13:31:03 +00:00
rtognimp
7cd95a4b4b
Don't use free()d pointer CID 260
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18012 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-01 23:50:30 +00:00
iive
9b4c7840b9
fix descrambling of asf file,
...
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
2006-03-30 23:06:18 +00:00
albeu
22e18ebe85
Move global vars used for header parsing, etc to dewux->priv as it should
...
be. Also cleanup a bit signedness.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17993 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-29 23:25:09 +00:00
albeu
42a11b39c9
100L to who wrote this. Also fix broken headers while at it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17991 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-29 19:31:31 +00:00
rtognimp
9c2deb1452
Fix passing qdm2 extradata to lavc decoder
...
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
2006-03-27 21:37:18 +00:00
diego
a33158d60d
Convert printfs in aviprint.c to mp_msg and give the information printing
...
functions in this file a verbosity_level parameter.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17978 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 17:25:41 +00:00
diego
55859c930c
Remove superfluous extern variable declaration.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17971 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 07:31:08 +00:00
rtognimp
c59ca7db22
Fix a/v desync for real some files
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17961 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-26 14:10:52 +00:00
nicodvb
0b0fac0e9c
H264: when fixed_fps is set the framerate is expressed in fields per second, so it must be halved
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17953 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-25 23:07:28 +00:00
diego
3e56c5bb6b
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
...
to ease patching in the future.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17944 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-25 10:38:37 +00:00
diego
eebf08b978
Convert all if(verbose>X) to mp_msg_test calls.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 08:12:03 +00:00
mosu
df0b2d8206
Fix for playing RealVideo on PPC/big endian processors. Patch by Emanuele Giaquinta (emanuele ! giaquinta () gmail ! com).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17924 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-22 18:58:03 +00:00
reimar
528ec79cc2
10l, checking for NULL after dereferencing makes no sense (though what is this check for anyway?)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17914 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-22 12:23:55 +00:00
aurel
88901c08d4
retrieve metadata from FLAC files (patch by Benjamin Zores < ben _at_ geexbox.org >)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17899 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-20 20:06:04 +00:00
rtognimp
cb05addbaf
Do not use ptr when it's NULL. CID 89
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17895 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-19 16:02:03 +00:00
albeu
207554c9ea
Fix compilation with stupid C++ compilers that shock on valid C
...
constructs in an extern "C" { }.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17881 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-16 16:55:51 +00:00
albeu
badc607fa1
Move the subread from FILE to stream_t.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17880 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-16 14:42:51 +00:00
albeu
c748950c9f
Fix a potential seek failure, fill_buffer doesn't have to
...
fill the whole buffer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17879 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-16 14:24:22 +00:00
albeu
0e8dd7511d
Try several formats instead of only YV12 if no format was explicitly
...
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
2006-03-14 00:45:06 +00:00