1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-18 13:47:04 +00:00
Commit Graph

1896 Commits

Author SHA1 Message Date
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
rathann
a3570cb3d7 le2me_32 is not necessary, tested by Diego on BE machine
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17861 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-14 00:02:42 +00:00
rathann
68f49b8512 in24/in32/fl32 little/big-endian QuickTime PCM audio support
approved by rxt


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17859 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-13 23:32:36 +00:00
albeu
a059a420e9 Fix seeking with cache enabled on systems using fork().
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
2006-03-13 16:56:10 +00:00
nicodvb
619973d7b1 recommitted version 1.22 + Rich's 1.25
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17847 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-13 07:08:01 +00:00
reimar
bea8281d3d Fix compilation error introduced by last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17841 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 22:29:27 +00:00
nicodvb
1a3ec4b7e6 unified failure case in muxer_new_muxer()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17840 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 22:14:00 +00:00
reimar
ef04decf63 fix feature pragma length check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17838 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 21:44:22 +00:00
nicodvb
d4df0074af in fix_parameters() move assignment of audio bitrate to the proper block (the bitrate for video is actually hardcoded to 800000)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17835 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 19:05:57 +00:00
nicodvb
f7cdaa9cba check stream->wf and stream->bih before using them in fix_parameters(). Fixes cid 43
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17834 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 18:58:08 +00:00
nicodvb
5c853c2c21 exit if calloc() fails; free(muxer) before returning NULL if muxer_init() fails (to avoid memleak). Fixes cid 173
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17832 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 18:13:11 +00:00
rfelker
8f872aaeda fix cosmetics noticed during nico's 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17831 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 18:11:32 +00:00
nicodvb
661225715a fixed C99-ism introduced with previous commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17830 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 18:06:46 +00:00
nicodvb
21fda01ab7 check muxer != NULL before using it; closes cid 201
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17829 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 17:46:51 +00:00
nicodvb
1ae5708df3 fail immediately if any of the parameters necessary to switch audio stream isn't set/correct; closes cid 55
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17823 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 12:28:09 +00:00
nicodvb
c164e2dd44 check sh_video before seeking; closes cid 56
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17822 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 12:13:37 +00:00
nicodvb
4a8bf87b5c close channels file before exiting dvb_get_channels() if malloc(dvb_channels_list) fails; closes cid 161
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17821 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 11:45:27 +00:00
nicodvb
882b24c23c init sh_a (new audio stream) to sh_audio (current audio stream); closes cid 241
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17820 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 11:12:48 +00:00
nicodvb
a8ea2c96c9 dereference muxer->priv only after having checked muxer!=NULL in write_chunk(); closes cid 206
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17819 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 23:38:54 +00:00
nicodvb
86d46b8ec9 init msec in mp_get_titleset_length() before using it; closes cid 251
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17818 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 23:29:02 +00:00
nicodvb
c446e2e8ee init variable in parse_mp4_object_descriptor before using it; fixes cid 237
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17817 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 23:26:02 +00:00
nicodvb
c8ceab9843 init delta_pts before using it; fixes cid 239
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17816 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 23:21:09 +00:00
nicodvb
a30246e193 check pce_ptr before using it; fixes cid 207
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17815 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 23:15:57 +00:00
rtognimp
b2a5c98e76 Only MAX_STREAMS streams are allowed (cid 115)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17811 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 16:42:46 +00:00
rtognimp
bb682fcc42 Fix memory leak cid 176
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17806 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 23:51:41 +00:00
rtognimp
b094203941 Fix memory leak cid 177
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17805 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 23:48:33 +00:00
reimar
0b48e15140 fix leak on read error (forgot to free demux packet)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17791 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-09 22:14:34 +00:00