diff options
author | ivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-02-28 00:26:53 +0000 |
---|---|---|
committer | ivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-02-28 00:26:53 +0000 |
commit | 359bdf3bed7dedec06704a039d8e29abd45f0649 (patch) | |
tree | 3e6de117f6aea16417545ce0d164384872fdc4dc /libvo/vo_jpeg.c | |
parent | 95cf851ea67f41c3c8b2da81c1d6dd55ab47458a (diff) | |
download | mpv-359bdf3bed7dedec06704a039d8e29abd45f0649.tar.bz2 mpv-359bdf3bed7dedec06704a039d8e29abd45f0649.tar.xz |
Fix compile warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14851 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_jpeg.c')
-rw-r--r-- | libvo/vo_jpeg.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libvo/vo_jpeg.c b/libvo/vo_jpeg.c index 9e113d2515..d1b0ef4ead 100644 --- a/libvo/vo_jpeg.c +++ b/libvo/vo_jpeg.c @@ -219,7 +219,7 @@ static uint32_t jpeg_write(uint8_t * name, uint8_t * buffer) static uint32_t draw_frame(uint8_t *src[]) { - static uint32_t framecounter = 0, subdircounter = 0; + static int framecounter = 0, subdircounter = 0; char buf[BUFLENGTH]; static char subdirname[BUFLENGTH] = ""; @@ -316,18 +316,18 @@ static int int_zero_hundred(int *val) static uint32_t preinit(const char *arg) { opt_t subopts[] = { - {"progressive", OPT_ARG_BOOL, &jpeg_progressive_mode, NULL}, - {"baseline", OPT_ARG_BOOL, &jpeg_baseline, NULL}, + {"progressive", OPT_ARG_BOOL, &jpeg_progressive_mode, NULL, 0}, + {"baseline", OPT_ARG_BOOL, &jpeg_baseline, NULL, 0}, {"optimize", OPT_ARG_INT, &jpeg_optimize, - (opt_test_f)int_zero_hundred}, + (opt_test_f)int_zero_hundred, 0}, {"smooth", OPT_ARG_INT, &jpeg_smooth, - (opt_test_f)int_zero_hundred}, + (opt_test_f)int_zero_hundred, 0}, {"quality", OPT_ARG_INT, &jpeg_quality, - (opt_test_f)int_zero_hundred}, - {"outdir", OPT_ARG_MSTRZ, &jpeg_outdir, NULL}, - {"subdirs", OPT_ARG_MSTRZ, &jpeg_subdirs, NULL}, - {"maxfiles", OPT_ARG_INT, &jpeg_maxfiles, (opt_test_f)int_pos}, - {NULL} + (opt_test_f)int_zero_hundred, 0}, + {"outdir", OPT_ARG_MSTRZ, &jpeg_outdir, NULL, 0}, + {"subdirs", OPT_ARG_MSTRZ, &jpeg_subdirs, NULL, 0}, + {"maxfiles", OPT_ARG_INT, &jpeg_maxfiles, (opt_test_f)int_pos, 0}, + {NULL, 0, NULL, NULL, 0} }; const char *info_message = NULL; |