1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00

warning & newline fixes by Dominik Mierzejewski <dominik@rangers.eu.org>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6336 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-06-07 22:43:29 +00:00
parent c93c93eb26
commit 89e9c29aff
14 changed files with 19 additions and 9 deletions

View File

@ -12,6 +12,7 @@
#include "url.h"
#include "../../interface.h"
#include "../../events.h"
#include "../widgets.h"
GtkWidget * URL;
int gtkVURLDialogBox = 0;

View File

@ -4,9 +4,11 @@
extern char* win32_codec_name; // must be set before calling DrvOpen() !!!
int init_acm_audio_codec(sh_audio_t *sh_audio);
int close_acm_audio_codec(sh_audio_t *sh_audio);
int acm_decode_audio(sh_audio_t *sh_audio, void* a_buffer,int minlen,int maxlen);
int init_vfw_video_codec(sh_video_t *sh_video,int ex);
int vfw_close_video_codec(sh_video_t *sh_video, int ex);
int vfw_decode_video(sh_video_t* sh_video,void* start,int in_size,int drop_frame,int ex);
int vfw_set_postproc(sh_video_t* sh_video,int quality);

View File

@ -8,6 +8,7 @@
#include "config.h"
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include "libdha.h"
#include "AsmMacros.h"

View File

@ -358,7 +358,7 @@ int RTjpeg_s2b(__s16 *data, __s8 *strm, __u8 bt8, __u32 *qtbl)
data[i]= 0;
break;
default:
break;
}
if( bitoff == 0 ) {

View File

@ -101,7 +101,7 @@ void panscan_init( void )
void panscan_calc( void )
{
int vo_panscan_area = (vo_screenheight-vo_dheight);
int vo_panscan_area = (aspdat.scrh-vo_dheight);
vo_panscan_amount = vo_fs ? vo_panscan : 0;
vo_panscan_x = vo_panscan_area * vo_panscan_amount * aspdat.asp;
vo_panscan_y = vo_panscan_area * vo_panscan_amount;

View File

@ -4,6 +4,9 @@
#include "../postproc/rgb2rgb.h"
// mga_vid drawing functions
#ifdef VO_XMGA
static void set_window( int ps ); /* forward declaration to kill warnings */
#endif
static int mga_next_frame=0;

View File

@ -23,6 +23,7 @@ int DS_VideoDecoder_SetDestFmt(DS_VideoDecoder *this, int bits, unsigned int csp
int DS_VideoDecoder_SetDirection(DS_VideoDecoder *this, int d);
int DS_VideoDecoder_GetValue(DS_VideoDecoder *this, const char* name, int* value);
int DS_VideoDecoder_SetValue(DS_VideoDecoder *this, const char* name, int value);
int DS_SetAttr_DivX(char* attribute, int value);
#endif /* AVIFILE_DS_VIDEODECODER_H */

View File

@ -788,6 +788,8 @@ static void* WINAPI expWaitForSingleObject(void* object, int duration)
static int pf_set = 0;
static BYTE PF[64] = {0,};
static void WINAPI expGetSystemInfo(SYSTEM_INFO* si); /* forward declaration */
static WIN_BOOL WINAPI expIsProcessorFeaturePresent(DWORD v)
{
WIN_BOOL result;