changeset 1363:e68194195c92 libavcodec

10l
author michaelni
date Mon, 14 Jul 2003 21:07:50 +0000
parents f26d6b57e620
children 463090933f60
files mjpeg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mjpeg.c	Sun Jul 13 11:14:43 2003 +0000
+++ b/mjpeg.c	Mon Jul 14 21:07:50 2003 +0000
@@ -681,7 +681,7 @@
         }
 
         for(y = 0; y < height; y++) {
-            const int modified_predictor= y ? 1 : predictor;
+            const int modified_predictor= y ? predictor : 1;
             uint8_t *ptr = p->data[0] + (linesize * y);
 
             for(i=0; i<3; i++){
@@ -1173,7 +1173,7 @@
         buffer[0][i]= 1 << (s->bits + point_transform - 1);
     }
     for(mb_y = 0; mb_y < s->mb_height; mb_y++) {
-        const int modified_predictor= mb_y ? 1 : predictor;
+        const int modified_predictor= mb_y ? predictor : 1;
         uint8_t *ptr = s->current_picture[0] + (linesize * mb_y);
 
         if (s->interlaced && s->bottom_field)