summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* #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:diego2010-02-131-2/+0
| | | | | | | | libao2/ao_mpegpes.c:336: warning: unused variable 's' libao2/ao_mpegpes.c:335: warning: unused variable 'i' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30555 b3059339-0415-0410-9bf9-f77b7e298cf2
* add netspeak versions of truespeech and gsm audio codecs to codecs.confcompn2010-02-131-0/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30554 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l: Revert previous commit about CONFIG_HARDCODED_TABLES/CONFIG_MPEGAUDIO_HP.diego2010-02-131-3/+5
| | | | | | | | These two variables are handled different from others in libavcodec/Makefile, thus the previous way of adding them to config.mak was correct. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30553 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use normal way to add CONFIG_HARDCODED_TABLES/CONFIG_MPEGAUDIO_HP to config.mak.diego2010-02-131-5/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30552 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move def_hardcoded_tables to the FFmpeg section of config.h, where it belongs.diego2010-02-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30551 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix shared library libavutil check: test for av_clip instead of av_gcd.diego2010-02-131-1/+1
| | | | | | | av_gcd is not available in the header #included in the check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30550 b3059339-0415-0410-9bf9-f77b7e298cf2
* osdep/mplayer.rc.o depends on version.h.diego2010-02-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30549 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move the check for valid sh_video into the init_vo_spudec, this fixes a crashreimar2010-02-131-1/+6
| | | | | | | when command.c calls this function without having to duplicate the check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30548 b3059339-0415-0410-9bf9-f77b7e298cf2
* Dynamically increase probe size for lavf demuxer up to 2 MB.reimar2010-02-121-6/+18
| | | | | | | | | | This will read progressively more data if we still did not detect the format. The lavfpref demuxer is unaffected to avoid hanging for a long time in case of a slow network stream that some native demuxer may be able to handle. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30547 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark all ad_info_t/vd_info_t structure declarations as const.diego2010-02-1247-47/+47
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30546 b3059339-0415-0410-9bf9-f77b7e298cf2
* Explain WIN32_LOADER definition hack.diego2010-02-121-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30545 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless CONFIG_QTX_CODECS --> QTX preprocessor indirection.diego2010-02-121-42/+39
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30544 b3059339-0415-0410-9bf9-f77b7e298cf2
* Synced with help_mp-en.h rev. 30515jrash2010-02-121-23/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30543 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix linking of loader test programs when loader is disabled.diego2010-02-122-3/+7
| | | | | | | Dependencies were only set correctly if the loader code was enabled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30542 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add win32 loader support for OS/2komh2010-02-123-3/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30541 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improve comment for GeoCodec.dllcehoyos2010-02-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30540 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless egcs #ifdefs; that compiler was never supported.diego2010-02-111-8/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30539 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove extern "C" declarations from loader code.diego2010-02-1119-158/+0
| | | | | | | Our loader code is not a general-purpose library and not used from C++. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30538 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move one more FFmpeg-related definition to the FFmpeg section of config.h.diego2010-02-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30537 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move some FFmpeg-related definitions to the FFmpeg section of config.h.diego2010-02-111-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30536 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move def_dos_paths to a better place within config.h; not just FFmpeg uses it.diego2010-02-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30535 b3059339-0415-0410-9bf9-f77b7e298cf2
* add comment about geov codec crashing on win32 in codecs.confcompn2010-02-111-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30534 b3059339-0415-0410-9bf9-f77b7e298cf2
* GeoCodec.dll also supports fourcc GEOX.cehoyos2010-02-111-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30533 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support GEOV video codec: Hangs on exitcehoyos2010-02-111-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30532 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add stubs for several functions, needed for CineForm codec.reimar2010-02-091-0/+82
| | | | | | | | Patch by Steinar H. Gunderson [sgunderson bigfoot com] with some modifications by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30531 b3059339-0415-0410-9bf9-f77b7e298cf2
* libass: fix PAR correctiongreg2010-02-092-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30530 b3059339-0415-0410-9bf9-f77b7e298cf2
* There is Indeo 5 decoder in FFmpeg now, so register itkostya2010-02-091-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30529 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix linking of mp3lib test programs when internal mp3lib is disabled.diego2010-02-081-2/+4
| | | | | | | Dependencies were only set correctly if internal mp3lib was enabled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30528 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix linking of liba52 test program when internal liba52 is disabled.diego2010-02-081-2/+4
| | | | | | | Dependencies were only set correctly if internal liba52 was enabled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30527 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove disabled AVIFILE-specific preprocessor code.diego2010-02-081-9/+0
| | | | | | | It will never get enabled in MPlayer, nor is it more than cruft. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30526 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge some preprocessor conditionals where appropriate.diego2010-02-081-12/+4
| | | | | | | This saves a few lines and simplifies the code slightly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30525 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix subtitle display for DVDs using fade-in/fade-out.reimar2010-02-061-5/+17
| | | | | | | | This does not do the actual fading, this is not supported by MPlayer, but will just use the highest alpha value used during display. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30524 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make mkalpha function simpler, faster and more correct.reimar2010-02-061-8/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30523 b3059339-0415-0410-9bf9-f77b7e298cf2
* synced with r30515Gabrov2010-02-063-14/+38
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30522 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync with en/mplayer.1 r30436jrash2010-02-061-11/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30521 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify how usesVFilter and usesHFilter are set.stefano2010-02-051-9/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30520 b3059339-0415-0410-9bf9-f77b7e298cf2
* Apply misc fixes to sws_getCoefficients() doxy.<