1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-05 13:47:39 +00:00
Commit Graph

17821 Commits

Author SHA1 Message Date
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
rathann
7875c2e150 QuickTime in24 and in32 PCM audio support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17814 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 22:43:28 +00:00
reynaldo
4e880d8076 added dinamically calculated gain factor at output stage to avoid clipping on sane ranges
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17813 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 21:16:59 +00:00
ods15
05b2368382 change max_distance max to 128kb instead of 65kb
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17812 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 19:47:05 +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
ods15
9dd489f4bc move bit flags to be more convinient...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17810 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 15:26:39 +00:00
ods15
c43a1f00e9 clarify, header_checksum is not included in forward_ptr and in packet checksum
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17809 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 10:19:02 +00:00
diego
1b1a9c9163 Simplify libcdio check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17808 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 00:00:25 +00:00
diego
349e0f199c Make better use of pkg-config to check for/set proper libraries when
using libcdio with internal cdparanoia.
patch by Erik Lunchpail erik_27can <<at>> yahoo <<dot>> com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17807 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 23:59:38 +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
rtognimp
3641b52010 Fix possible use of body uninitialized. Remove an unneeded free (body
is not allocated before it). CID 243 and more


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17804 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 22:15:50 +00:00
ods15
37a1bc43fe remove edl.c pre-alloc, more readble and safe code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17803 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 21:34:54 +00:00
michael
8895e7c64c SHOULD NOT be higher than 1/timebase limit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17802 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 14:44:31 +00:00
michael
e44e52167a div8 -> div16
and a silly 10l typo (misstakely removed a field)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17801 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 14:34:30 +00:00
michael
7f204aec11 drop max_frame_size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17800 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 14:28:11 +00:00
michael
09053751fd double muxing examples (cant hurt to explictly mention the most common)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17799 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 14:23:22 +00:00
michael
578eb12df3 limit stuffing to prevent header_checksum from endup being useless due to a gb of 0x80 after a 'N'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17798 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 14:18:59 +00:00
michael
7f157e2d58 universal timestamp (= stream_id + timestamp in stream timebase)
-> simplify
add that thing to info packets as type too


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17797 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 14:10:07 +00:00
michael
f25911feec little clarification of sample_width/sample_height
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17796 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 13:54:39 +00:00
michael
370aaee121 0x00 and 0xFF should be invalid (libnut does that already and it seems like a good idea to recommand)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17795 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 13:50:35 +00:00
ods15
3d312d86fe push back userdata stream_class
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17794 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 11:52:58 +00:00
michael
2c222ee63b header_checksum
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17793 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 02:49:29 +00:00
reimar
d81cb40c88 free resources when load_raw fails
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17792 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-09 22:20:20 +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
reimar
0abc4c6d63 fix minor (i.e. unlikely to ever happen) leak when init fails
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17790 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-09 22:11:39 +00:00
rtognimp
a2d1fa71e8 Fix potential read from an unitialized pointer (CID: 236)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17789 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-09 22:09:03 +00:00
reimar
7a649cdcff remove useless and memleak-causing strdup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17788 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-09 18:05:38 +00:00
reimar
d7d3f53317 fix another sizeof(dvd_input_t) bug (must be struct dvd_input_s instead)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17787 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-09 17:39:34 +00:00
reimar
e078b7a14e in demux_ogg_read_packet initialize data to whole packet, reduces code and
fixes missing initialization in else + header packet case.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17786 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 22:23:21 +00:00
reimar
08394d0e01 name array is too small, use strlcpy instead of strncpy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17785 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 21:13:16 +00:00
reimar
1f5b55cb9b UTF-8 is used everywhere else and seems to be more portable than utf8 (FreeBSD)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17784 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 20:27:47 +00:00
henry
10825e00a9 revert the attempts for ccache fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17783 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 19:56:47 +00:00
reimar
e358534d3a add default case to encoder switch-case (maybe an error message would be good as well).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17782 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 15:49:46 +00:00
reimar
694f18ea46 fix memory leak when filter with given name does not exist.
Also prints which filter failed in the malloc-failed case


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17781 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 15:39:53 +00:00
reimar
93ffd2ad79 Missing free_demux_packet after read error
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17780 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 15:21:12 +00:00
reimar
dddd5404a5 Fix base64 encoding for basic auth according to RFC.
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
2006-03-08 15:14:08 +00:00
reimar
5b3801e774 missing url_free when using proxy and connect fails
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17778 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 15:07:48 +00:00
reimar
cd94e7a740 stream_id == MAX_STREAMS is invalid, since counting starts with 0.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17777 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 13:26:36 +00:00
reimar
425573eb0d "i < sizeof(buf)" must be "i < sizeof(buf) - 5", since later buf[i + 5] is used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17776 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 13:07:36 +00:00
reimar
6c232b95c4 We start with 0, so ch (channel number) == AF_NCH is invalid, too (not just >)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17775 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 13:00:51 +00:00
michael
df89f6c831 cosmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17774 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 12:49:35 +00:00
reimar
1519205f24 Automaticall convert message to console charset, use utf8 for GTK2 Gui
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17773 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 12:45:48 +00:00
michael
1b8e9839b0 remove info streams
add new rules

awaiting flames and comments


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17772 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 12:37:10 +00:00