diff options
author | phintuka <phintuka> | 2010-03-29 09:31:40 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-03-29 09:31:40 +0000 |
commit | eae59e9d28b5384a311e18c756ed854382135e09 (patch) | |
tree | 379ecf60a5f0b3a072681ab41e56442383a0e14d | |
parent | 07b8f118a1b4f3dc329fd55006837313452565b9 (diff) | |
download | xineliboutput-eae59e9d28b5384a311e18c756ed854382135e09.tar.gz xineliboutput-eae59e9d28b5384a311e18c756ed854382135e09.tar.bz2 |
Fixed building with jpeg <= 7
(Thanks to Dirk Brenken)
-rw-r--r-- | xine_frontend.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xine_frontend.c b/xine_frontend.c index d3f6144a..3da4d468 100644 --- a/xine_frontend.c +++ b/xine_frontend.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_frontend.c,v 1.114 2010-03-28 05:34:45 phintuka Exp $ + * $Id: xine_frontend.c,v 1.115 2010-03-29 09:31:40 phintuka Exp $ * */ @@ -1744,7 +1744,9 @@ static char *frame_compress_jpeg(fe_t *this, int *size, int quality, vo_frame_t jpeg_set_defaults(&cinfo); jpeg_set_quality(&cinfo, quality, TRUE); cinfo.raw_data_in = TRUE; +#if JPEG_LIB_VERSION >= 70 cinfo.do_fancy_downsampling = FALSE; +#endif jpeg_set_colorspace(&cinfo, JCS_YCbCr); cinfo.comp_info[0].h_samp_factor = |