summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Mark some more functions that are not used outside of their files as static.diego2010-02-186-11/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30632 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add header for AVI print functions; avoids many forward declarations.diego2010-02-1813-38/+46
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30631 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle negative height in draw_slice from FFmpeg in vd_ffmpeg.c, since atreimar2010-02-171-1/+13
| | | | | | | | | | 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
* Add header for asf_check_header, read_asf_header; avoids forward declarations.diego2010-02-173-6/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30629 b3059339-0415-0410-9bf9-f77b7e298cf2
* #include proper header for skip_audio_frame() instead of forward declaring it.diego2010-02-171-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30628 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add header for demux_ogg_open, init_avi_with_ogg; avoids forward declarations.diego2010-02-173-4/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30627 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove demux_ogg-related declarations that are no longer necessary.diego2010-02-171-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30626 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark demux_ogg_sub_id() as static; it is not used outside of the file.diego2010-02-171-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30625 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move up demux_ogg_sub_id, demux_ogg_sub_reverse_id; avoids forward declarations.diego2010-02-171-29/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30624 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add read_avi_header() to aviheader.h; avoids forward declarations.diego2010-02-172-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30623 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add header file for store_ughvlc(); avoids forward declarations.diego2010-02-173-3/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30622 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add mp_getbits() to mpeg_hdr.h to avoid a forward declaration.diego2010-02-172-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30621 b3059339-0415-0410-9bf9-f77b7e298cf2
* libmpdemux: Remove pointless leftover '#if 1' preprocessor instructions.diego2010-02-173-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30620 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add header for ty_ClearOSD(), ty_processuserdata(); avoids forward declarations.diego2010-02-174-3/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30619 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add separate header for mp_a52_framesize(); avoids forward declarations.diego2010-02-173-3/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30618 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add config.h header #include; it is required for the HAVE_BIGENDIAN check.diego2010-02-171-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30617 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add separate header for aac_parse_frame(); avoids forward declarations.diego2010-02-174-9/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30616 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add separate header for real_fix_timestamp(); avoids forward declarations.diego2010-02-173-2/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30615 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark mp_mp3_get_lsf() as static; it is not used outside of the file.diego2010-02-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30614 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark mov_build_index() as static; it is not used outside of the file.diego2010-02-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30613 b3059339-0415-0410-9bf9-f77b7e298cf2
* libmpdemux: Mark functions not used outside of their files as static.diego2010-02-179-16/+32
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30612 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document several new x264 parameters.corey2010-02-171-0/+86
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30611 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update x264 defaults listed in the man page.corey2010-02-171-7/+7
| | | | | | | x264 has changed the defaults for these parameters. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30610 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ignore .ho files in loader/wine/.diego2010-02-170-0/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30609 b3059339-0415-0410-9bf9-f77b7e298cf2
* libmpcodecs: Remove pointless leftover '#if 1' preprocessor instructions.diego2010-02-176-17/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30608 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert marking seemingly unused XAnim-binary-related functions as static.diego2010-02-171-12/+28
| | | | | | | 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
* Revert marking seemingly unused RealAudio/RealVideo-related functions as static.diego2010-02-172-26/+31
| | | | | | | | | 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
* Mark ALS fourcc as internal only.reimar2010-02-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30605 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support FFmpeg's ALS decoder.reimar2010-02-162-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30604 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move struct typedef pixbuf into the only .c file where it is used.reimar2010-02-162-7/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30603 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless malloc casts.reimar2010-02-161-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30602 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused XPM-loading function pixbuf_load_xpm() from spuenc.c.reimar2010-02-162-48/+0
| | | | | | | Remove unused function pixbuf_delete() from spuenc.[ch]. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30601 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix win32 gui compilation.reimar2010-02-165-5/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30600 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream: Mark functions not used outside of their files as static.diego2010-02-165-11/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30599 b3059339-0415-0410-9bf9-f77b7e298cf2
* libvo: Mark functions not used outside of their files as static.diego2010-02-168-24/+43
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30598 b3059339-0415-0410-9bf9-f77b7e298cf2
* libmpcodecs: Mark functions not used outside of their files as static.diego2010-02-167-32/+41
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30597 b3059339-0415-0410-9bf9-f77b7e298cf2
* #include corresponding .h files in .c files.diego2010-02-168-1/+9
| | | | | | | 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
* Add header for init_global_rawdv_decoder() instead of forward declaring it.diego2010-02-163-3/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30595 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add header file for mplayer_audio_read() instead of forward declaring it.diego2010-02-163-3/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30594 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add header file for sis_init_video_bridge() instead of forward declaring it.diego2010-02-163-3/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30593 b3059339-0415-0410-9bf9-f77b7e298cf2
* VIDIX: #include drivers.h in drivers.c.diego2010-02-161-0/+1
| | | | | | | This ensures that function declarations in both files always match. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30592 b3059339-0415-0410-9bf9-f77b7e298cf2
* VIDIX: Mark some functions not used outside their files as static.diego2010-02-162-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30591 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless header #includes; #include only required header stdint.h.diego2010-02-161-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30590 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable.reimar2010-02-141-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30589 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use memset to initialize huge arrays.reimar2010-02-141-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30588 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless explicit member initialization to 0 when the structreimar2010-02-141-17/+0
| | | | | | | is already zeroed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30587 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use calloc instead of malloc+memsetreimar2010-02-141-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30586 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for decoding 4:2:2 and 4:4:4 Theora files.reimar2010-02-142-9/+20
| | | | | | | Patch by Giorgio Vazzana [mywing81 gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30585 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make len unsigned. More correct anyway and avoids sign extension to 64 bitreimar2010-02-141-1/+1
| | | | | | | for the 64+32 bit addition. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30584 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify and slightly speed up avi_stream_id function.reimar2010-02-141-6/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30583 b3059339-0415-0410-9bf9-f77b7e298cf2
* Declare vf_menu_pause_update in libmenu/menu.h.diego2010-02-142-1/+3
| | | | | | | This avoids a forward declaration in mplayer.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30582 b3059339-0415-0410-9bf9-f77b7e298cf2
* Directly mark structs as WINE_PACKED where all members are marked as packed.diego2010-02-142-26/+26
| | | | | | | This fixes a ton of gcc warnings about ignored packed attributes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30581 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify.reimar2010-02-141-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30580 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move movie_aspect extern declaration to libmpcodecs/vd.h.diego2010-02-144-2/+2
| | | | | | | | 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
* Move GUI-related extern declarations to a GUI header file.diego2010-02-145-7/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30578 b3059339-0415-0410-9bf9-f77b7e298cf2
* GUI: Mark functions that are not used outside their files as static.diego2010-02-1413-63/+79
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30577 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid using sscanf for basic parsing, it is horribly slow.reimar2010-02-141-4/+9
| | | | | | | Now uses strncmp as a first step, which is 40 times faster. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30576 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid forward declarations for import_initial_playtree_into_gui() anddiego2010-02-142-3/+7
| | | | | | | import_playtree_playlist_into_gui; declare them in interface.h instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30575 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add xscreensaver_heartbeat() declaration to x11_common.h.diego2010-02-142-6/+1
| | | | | | | This avoids a forward declaration in mplayer.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30574 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename gui/mplayer/gtk/menu.[ch] --> gui/mplayer/gtk/gtkmenu.[ch].diego2010-02-145-6/+5
| | | | | | | This avoids confusion with headers of the same name in other places. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30573 b3059339-0415-0410-9bf9-f77b7e298cf2
* Declare mp_input_register_options() in input/input.h.diego2010-02-142-2/+4
| | | | | | | This also avoids a forward declaration in mplayer.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30572 b3059339-0415-0410-9bf9-f77b7e298cf2
* GUI: #include associated .h files in .c files.diego2010-02-143-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30571 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check that fontconfig version is at least 2.4.2, which is required for thereimar2010-02-141-0/+3
| | | | | | | | | included libass. A more fine-grained check would be possible to e.g. allow older versions if internal libass is disabled, but seems like overkill. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30570 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reindentreimar2010-02-141-26/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30569 b3059339-0415-0410-9bf9-f77b7e298cf2
* Just use goto instead of reimplementing it badly with a do { } while (0) andreimar2010-02-141-21/+8
| | | | | | | break. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30568 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change aspect calculation code to switch to floating point earlier so integerreimar2010-02-141-2/+2
| | | | | | | overflows are not possible. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30567 b3059339-0415-0410-9bf9-f77b7e298cf2
* QuickTime X supports SAR in H.264.diego2010-02-141-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30566 b3059339-0415-0410-9bf9-f77b7e298cf2
* Return NULL instead of 0 for function returning a pointer.reimar2010-02-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30565 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark uninit() as static; it is only used within the file.diego2010-02-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30564 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless casts.reimar2010-02-141-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless code, QUERY_FORMAT already ensures the requested format is ↵reimar2010-02-141-10/+0
| | | | | | supported. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30562 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make vd_functions_t describing codecs const.reimar2010-02-142-23/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30561 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename exit_reason_t enum to exit_reason and do not typedef it.diego2010-02-142-6/+8
| | | | | | | The _t namespace is reserved for POSIX; the typedef is pointless obfuscation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30560 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make vd_info_t const for pointer in vd_functions, avoids some warnings aboutreimar2010-02-141-1/+1
| | | | | | | initialization discarding the const. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30559 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix exit_player() usage throughout the codebase.diego2010-02-1411-31/+32
| | | | | | | | | | 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
* Remove excessive ()reimar2010-02-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30557 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove stray '/' from comment block, fixes the warning:diego2010-02-131-1/+1
| | | | | | | libmpcodecs/vf_eq2.c:8:1: warning: "/*" within comment git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30556 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variables, fixes the warnings:diego