summaryrefslogtreecommitdiff
blob: 3b0ad4792a544a89c469c6786a80da62cbe0cca0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff -ur mpeg_encode.orig/jpeg.c mpeg_encode/jpeg.c
--- mpeg_encode.orig/jpeg.c	2009-08-24 21:33:18.000000000 +0300
+++ mpeg_encode/jpeg.c	2009-08-24 22:23:08.000000000 +0300
@@ -80,13 +80,9 @@
 /* make it happier.... */
 #undef DCTSIZE2
 #include "jpeglib.h"
-#include "jpegint.h"
-
 
 #define HEADER_SIZE 607   /*JFIF header size used on output images*/
 
-
-
 /*=======================================================================*
  *                                                                       *
  * JMovie2JPEG                                                           *
@@ -517,7 +513,7 @@
 #ifdef JPEG4
   buffer_height = 8;  /* could be 2, 4,8 rows high */
 #else
-  buffer_height = cinfo.max_v_samp_factor * cinfo.min_DCT_scaled_size;
+  buffer_height = cinfo.max_v_samp_factor * cinfo.min_DCT_v_scaled_size;
 #endif
   
   for(cp=0,compptr = cinfo.comp_info;cp<cinfo.num_components;