Commit Graph

20 Commits

Author SHA1 Message Date
diego 2e98215f13 Move movie_aspect extern declaration to libmpcodecs/vd.h.
This is the appropriate place for the declaration; the variable is
declared in libmpcodecs/vd.c.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30579 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 14:47:22 +00:00
diego 11b55ec7a8 Fix exit_player() usage throughout the codebase.
exit_player() was declared with differing parameter types in mplayer.c and
mplayer.h. Make the declaration in the .h file match the one in the .c file
and adjust all usages of exit_player() throughout the codebase. Also move
the exit_player() declaration into mp_core.h next to exit_player_with_rc().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30558 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 10:53:20 +00:00
diego 6e9cbdc104 whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
diego 0864f92e7a Get rid of pointless 'extern' keywords.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 23:01:03 +00:00
diego 02135001b4 Change a bunch of video/audio-output-specific preprocessor directives from
a HAVE_ prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27402 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 15:21:40 +00:00
diego 4b141479da Start unifying names of internal preprocessor directives.
Replace all USE_ prefixes by CONFIG_ prefixes to indicate
options which are configurable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 12:01:30 +00:00
diego 05bc68ae36 Add standard GPL header to individual files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26490 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-22 09:33:39 +00:00
diego a1a1bd5e31 Make include paths consistent; do not use ../ in them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26414 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 16:03:07 +00:00
diego 40190e8ec7 Add gui/ prefix to some #include paths so that compilation from the
top-level source directory does not fail.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26397 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-11 16:55:27 +00:00
diego 37ea342f85 #include config.h before all other headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26235 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-14 16:46:13 +00:00
diego b1760bdba5 Rename common.[ch], there are too many files by that name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25631 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 16:31:26 +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 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 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
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 5c9abf7f9f Gui --> gui
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-23 07:42:42 +00:00