diego
3c8b565e90
Remove redundant extern declarations, #include the right headers instead.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24173 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 13:05:07 +00:00
diego
26691d09f8
Remove redundant extern variable declarations, include proper headers instead.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24169 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 12:25:34 +00:00
diego
b4109f4efe
Remove unused extern variable declaration.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24133 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-24 09:15:21 +00:00
diego
e98f88e00e
Remove redundant variable declaration along with the corresponding warning.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24132 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-24 09:14:41 +00:00
diego
5c2b08d2d8
1000l: Revert stray hunk that crept in with last commit.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24131 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-24 09:12:00 +00:00
diego
38623fee68
Use consistent include path.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24130 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-24 00:11:15 +00:00
iive
78dbd8ba26
remove gconvert_uri_to_filename() and use url_unescape_string() instead.
...
reasons:
* gconvert strdup()s the original string, but it may exit without returning or freeing it.
* gconvert returns the original pointer when no % escaping is done. It is then free()ed and used in that state.
* gconvert doesn't consider that % may be at the end of the string and could continue parsing past the end.
* gconvert would try to free() pointer that iconv() have modified.
* gconvert would try to convert filenames from utf-8 to iso8859-1.
Seems like no other DnD programs convert to utf-8 and/or honors CHARSET.
Not converting seems to work best. Fix it if problem arises.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24106 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-20 14:17:43 +00:00
reimar
2e42b402b6
fopen is in stdio.h, so add this include.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23816 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-18 12:15:10 +00:00
diego
f2a8f10af2
Fix a bunch of redundant redeclaration warnings.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23815 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-18 10:09:42 +00:00
diego
fe72927d6b
Remove unused variables.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23814 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-18 10:09:09 +00:00
diego
b000a6a519
ISO8859-1 --> UTF-8
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23754 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 19:50:36 +00:00
reimar
4c4a1070fe
Avoid code duplication and ugly config.h hack by using av_strlcat/av_strlcpy
...
instead of plain strlcat/strlcpy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23723 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-05 22:01:07 +00:00
diego
3e9e4acd8d
Do not use leading underscores in multiple inclusion guards, they are reserved.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 22:34:45 +00:00
diego
d416c25c9b
Add consistent GUI prefix to multiple inclusion guards.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23705 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 20:55:05 +00:00
diego
32cfb9ea17
Add multiple inclusion guard.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23704 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 20:54:11 +00:00
diego
897899ce90
Consistently use filenames as multiple inclusion guards.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23703 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 20:36:18 +00:00
reimar
8a11439a6e
Return value of gtk_entry_get_text is const, so declare variables as const as well.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23644 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 12:43:45 +00:00
reimar
3b7723c9c7
revert broken r23628, mp_core.h is not included by cfg.h, so double extern
...
declaration is not that simple to avoid.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23641 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 11:18:12 +00:00
reimar
df56e46146
get_path prototype is already in interface.h and probably many more places.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23640 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 11:09:32 +00:00
reimar
5744ee56d9
ass_enabled is already in mp_core.h
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23628 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 10:09:05 +00:00
reimar
ad7041301d
Add a (almost correct) prototype for vcd_seek_to_track
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23623 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 09:52:19 +00:00
cehoyos
2c1d737ff7
Fix compilation after FFmpeg r9283.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23546 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-12 08:38:42 +00:00
reimar
6a09e8e2ed
Replace implicit use of fast_memcpy via macro by explicit use to allow
...
for future optimization.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 14:27:54 +00:00
reimar
10ec9a7738
Make gmplayer show right colors if X server does not use native byteorder.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23471 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 11:37:16 +00:00
reimar
1062d77439
get rid of Gui code that has been commented out since ages
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23464 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-04 13:16:39 +00:00
reimar
e8d57600dc
Factor out some duplicated gui code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23463 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-04 13:15:35 +00:00
reimar
b609629b2b
Remove some useless code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23462 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-04 13:05:26 +00:00
reimar
b8dee272f8
Remove two useless fastmemcpy.h includes in gui code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23392 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-27 20:40:04 +00:00
ben
4f0ee265ff
missed part of gui code change while introducing -subfont option (patch by Piotr Kaczuba)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23359 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-20 21:07:14 +00:00
reimar
974fc343bd
Include string.h for memcpy, fastmemcpy.h alone is not enough.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23323 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-16 21:45:46 +00:00
reimar
f2d1bd5166
Reuse linux code for reading png images for windows Gui,
...
thus also removing libpng dependency
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23284 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-10 09:11:54 +00:00
reimar
a37ac96413
remove unused code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23244 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 12:35:14 +00:00
reimar
6b8dfb15a6
Fix Gui colors for 32 bit png images after switch to libavcodec decoding
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23243 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 12:33:13 +00:00
reimar
b850a6695d
Use calloc instead of malloc+memset
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23218 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 16:42:31 +00:00
reimar
bd83e685ec
Missing free on error in conv24to32
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23217 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 16:39:35 +00:00
reimar
20fbe131b2
Simplify bgr2rgb
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23216 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 16:38:22 +00:00
reimar
20d2740764
Remove unused function
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23215 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 16:26:58 +00:00
reimar
14fc62d117
Make functions and variables not used outside bitmap.c static
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23214 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 16:24:23 +00:00
reimar
4b0fd35ac2
Simplify conv24to32 for-loop
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23213 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 16:23:16 +00:00
reimar
c3e24ef73f
Remove useless extern before function prototypes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23212 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 16:17:16 +00:00
reimar
bc39c06e4c
Remove libpng dependency for Gui, use libavcodec instead
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23211 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 14:39:55 +00:00
iive
57117b9141
10l to Diego for breaking svn (again).
...
revert the change from r23172, that breaks compilation
vcd_read.h may not be the right incude for the given architecture,
but it also contains functions that are nor static nor inlined, defining them multiple times.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23176 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-30 00:45:52 +00:00
diego
07796de044
Fix several implicit declarations of functions warnings.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23172 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-29 12:44:34 +00:00
diego
d4082e1723
Remove duplicate #include.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23171 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-29 12:29:33 +00:00
vayne
e5d16b4c4e
add missing case value, fixes functionality when using some skins.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23166 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-28 22:09:53 +00:00
vayne
9d9952500e
compilation fix for disabling dvd functionality, patch by <bangbangbear at gmail dot com>, slightly modified by me.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23165 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-28 22:09:01 +00:00
vayne
367dbc8384
header / declarations cleanup, also fixes broken compilation.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23141 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-26 17:30:20 +00:00
diego
78012f3414
Consistently use quotes instead of angled brackets in #include
...
statements for non-system headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23109 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-25 07:34:56 +00:00
diego
5e91f60b1e
Use proper GPL header.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23097 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-23 08:01:10 +00:00
diego
2e5553cb82
spelling cosmetics
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23096 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-23 07:48:03 +00:00