File mjpegtools-jpeg-7.patch of Package mjpegtools

diff -r -u mjpegtools-1.9.0/lavtools/jpegutils.c mjpegtools-1.9.0-r1/lavtools/jpegutils.c
--- mjpegtools-1.9.0/lavtools/jpegutils.c	2005-10-02 13:48:44.000000000 -0500
+++ mjpegtools-1.9.0-r1/lavtools/jpegutils.c	2010-01-23 00:16:02.000000000 -0600
@@ -502,6 +502,7 @@
 
    jpeg_read_header (&dinfo, TRUE);
    dinfo.raw_data_out = TRUE;
+   dinfo.do_fancy_upsampling = FALSE;
    dinfo.out_color_space = JCS_YCbCr;
    dinfo.dct_method = JDCT_IFAST;
    guarantee_huff_tables(&dinfo);
@@ -599,6 +600,7 @@
       if (field > 0) {
          jpeg_read_header (&dinfo, TRUE);
          dinfo.raw_data_out = TRUE;
+	 dinfo.do_fancy_upsampling = FALSE;
          dinfo.out_color_space = JCS_YCbCr;
          dinfo.dct_method = JDCT_IFAST;
          jpeg_start_decompress (&dinfo);
openSUSE Build Service is sponsored by