diff options
Diffstat (limited to 'media-video/cinelerra/files/cinelerra-jpeg-7.patch')
-rw-r--r-- | media-video/cinelerra/files/cinelerra-jpeg-7.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/media-video/cinelerra/files/cinelerra-jpeg-7.patch b/media-video/cinelerra/files/cinelerra-jpeg-7.patch new file mode 100644 index 000000000000..f26e6a399997 --- /dev/null +++ b/media-video/cinelerra/files/cinelerra-jpeg-7.patch @@ -0,0 +1,27 @@ +diff -r -u cinelerra-20090210/quicktime/libmjpeg.c cinelerra-20090210-r1/quicktime/libmjpeg.c +--- cinelerra-20090210/quicktime/libmjpeg.c 2009-02-10 06:19:07.000000000 -0600 ++++ cinelerra-20090210-r1/quicktime/libmjpeg.c 2010-01-23 01:37:31.000000000 -0600 +@@ -653,6 +653,7 @@ + /* Ideally the error handler would be set here but it must be called in a thread */ + jpeg_create_decompress(&(engine->jpeg_decompress)); + engine->jpeg_decompress.raw_data_out = TRUE; ++ engine->jpeg_decompress.do_fancy_upsampling = FALSE; + engine->jpeg_decompress.dct_method = JDCT_IFAST; + } + +@@ -737,6 +738,7 @@ + engine->jpeg_decompress.dc_huff_tbl_ptrs ); + // Reset by jpeg_read_header + engine->jpeg_decompress.raw_data_out = TRUE; ++ engine->jpeg_decompress.do_fancy_upsampling = FALSE; + jpeg_start_decompress(&engine->jpeg_decompress); + + // Generate colormodel from jpeg sampling +@@ -801,6 +803,7 @@ + + + engine->jpeg_compress.raw_data_in = TRUE; ++ engine->jpeg_compress.do_fancy_downsampling = FALSE; + jpeg_start_compress(&engine->jpeg_compress, TRUE); + + while(engine->jpeg_compress.next_scanline < engine->jpeg_compress.image_height) |