Commit Graph

30652 Commits

Author SHA1 Message Date
stefano 2aafb80828 Reindent and fix brace placement.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30643 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-18 21:20:37 +00:00
stefano 8090adeed3 Vertically align a list of comparisons in sws_getCachedContext().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30642 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-18 21:17:07 +00:00
stefano b07bf5bddc Merge two if conditions, allow to decrese the level of indentation of
the block.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30641 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-18 21:12:05 +00:00
reimar 134bbb8cd8 Add a InitializeCriticalSectionAndSpinCount function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30640 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-18 20:24:52 +00:00
reimar 87edb382c6 Add a GetModuleHandleW implementation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30639 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-18 20:23:05 +00:00
reimar 2903a8583f Use snprintf to ensure we do not write outside the buffer bounds
when recording stub names into export_names.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30638 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-18 20:20:23 +00:00
cehoyos 4565c3ac28 Use new FFmpeg WMA Voice decoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30637 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-18 10:32:00 +00:00
diego 39ce4dd088 Add header #include for print_wave_header() instead of a forward declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30636 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-18 10:26:39 +00:00
diego eea4f2238b Add header for functions exported from vo_zr.c and use it appropriately.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30635 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-18 10:19:42 +00:00
diego 352dfc79e4 Remove forward declarations for non-existing functions readPPOpt, revertPPOpt.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30634 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-18 09:41:52 +00:00
diego 98d06ba17c Add required header #include for config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30633 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-18 09:29:05 +00:00
diego 93c1e23c47 Mark some more functions that are not used outside of their files as static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30632 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-18 09:26:00 +00:00
diego 0055441774 Add header for AVI print functions; avoids many forward declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30631 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-18 00:18:50 +00:00
reimar 84da7d44ef Handle negative height in draw_slice from FFmpeg in vd_ffmpeg.c, since at
least vo_xv and vo_sdl can not handle it and the scale filter seems
to work fine either way.
The FFmpeg vp3/Theora decoder produces such slices.
Fixes bug #1646.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30630 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 23:46:57 +00:00
diego 01df6700de Add header for asf_check_header, read_asf_header; avoids forward declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30629 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 23:45:01 +00:00
diego e52d7ceb38 #include proper header for skip_audio_frame() instead of forward declaring it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30628 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 23:40:48 +00:00
diego e01e094438 Add header for demux_ogg_open, init_avi_with_ogg; avoids forward declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30627 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 23:36:44 +00:00
diego e606c46526 Remove demux_ogg-related declarations that are no longer necessary.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30626 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 23:33:17 +00:00
diego 2dbe8cf340 Mark demux_ogg_sub_id() as static; it is not used outside of the file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30625 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 23:27:47 +00:00
diego a37c279d27 Move up demux_ogg_sub_id, demux_ogg_sub_reverse_id; avoids forward declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30624 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 23:25:02 +00:00
diego 965f604636 Add read_avi_header() to aviheader.h; avoids forward declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30623 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 23:10:56 +00:00
diego d28c27df8d Add header file for store_ughvlc(); avoids forward declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30622 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 23:02:13 +00:00
diego 4a9770c1c2 Add mp_getbits() to mpeg_hdr.h to avoid a forward declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30621 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 22:58:03 +00:00
diego 2d776c8c76 libmpdemux: Remove pointless leftover '#if 1' preprocessor instructions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30620 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 22:52:31 +00:00
diego c66aa21366 Add header for ty_ClearOSD(), ty_processuserdata(); avoids forward declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30619 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 22:48:32 +00:00
diego 6f8c91b9a2 Add separate header for mp_a52_framesize(); avoids forward declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30618 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 22:40:50 +00:00
diego e286b38529 Add config.h header #include; it is required for the HAVE_BIGENDIAN check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30617 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 22:33:21 +00:00
diego 9905880267 Add separate header for aac_parse_frame(); avoids forward declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30616 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 22:28:24 +00:00
diego 2df3416d32 Add separate header for real_fix_timestamp(); avoids forward declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30615 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 22:22:51 +00:00
diego 69429048a2 Mark mp_mp3_get_lsf() as static; it is not used outside of the file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30614 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 22:14:04 +00:00
diego 8615d00834 Mark mov_build_index() as static; it is not used outside of the file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30613 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 22:11:05 +00:00
diego eafb70de50 libmpdemux: Mark functions not used outside of their files as static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30612 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 22:01:35 +00:00
corey 8438cc472d Document several new x264 parameters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30611 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 21:49:17 +00:00
corey ab1a5a6306 Update x264 defaults listed in the man page.
x264 has changed the defaults for these parameters.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30610 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 21:45:53 +00:00
diego 632595c6f5 Ignore .ho files in loader/wine/.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30609 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 21:38:09 +00:00
diego 0c3d44619b libmpcodecs: Remove pointless leftover '#if 1' preprocessor instructions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30608 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 21:36:00 +00:00
diego 05ef58b9f7 Revert marking seemingly unused XAnim-binary-related functions as static.
The functions are required to load binary XAnim codecs, so they need to be kept.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30607 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 21:29:05 +00:00
diego f15694a779 Revert marking seemingly unused RealAudio/RealVideo-related functions as static.
The functions are required to load binary Real codecs, so they need to be kept.
Group all functions together in ad_realaud.c because all the functions are used
to load audio binaries and only some to load video binaries.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30606 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 19:21:28 +00:00
reimar cdd0ab0da9 Mark ALS fourcc as internal only.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30605 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-17 07:06:12 +00:00
reimar 20b2f493bb Support FFmpeg's ALS decoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30604 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 21:54:50 +00:00
reimar 50973f0044 Move struct typedef pixbuf into the only .c file where it is used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30603 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 19:39:30 +00:00
reimar 0dc08a811d Remove useless malloc casts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30602 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 19:36:36 +00:00
reimar 091e2a4313 Remove unused XPM-loading function pixbuf_load_xpm() from spuenc.c.
Remove unused function pixbuf_delete() from spuenc.[ch].


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30601 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 19:34:41 +00:00
reimar ff8c044318 Fix win32 gui compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30600 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 19:07:06 +00:00
diego 2c8f5fa622 stream: Mark functions not used outside of their files as static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30599 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 16:32:38 +00:00
diego 6833ea6ab2 libvo: Mark functions not used outside of their files as static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30598 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 16:22:17 +00:00
diego a6207aaa68 libmpcodecs: Mark functions not used outside of their files as static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30597 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 16:16:42 +00:00
diego 465f535c51 #include corresponding .h files in .c files.
This ensures that function declarations in both files always match.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30596 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 15:03:03 +00:00
diego 3c514ea708 Add header for init_global_rawdv_decoder() instead of forward declaring it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30595 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 14:52:59 +00:00
diego caa956090a Add header file for mplayer_audio_read() instead of forward declaring it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30594 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 13:16:17 +00:00