per picture psnr
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 15 Sep 2004 01:55:04 +0000 (01:55 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 15 Sep 2004 01:55:04 +0000 (01:55 +0000)
Originally committed as revision 3465 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/snow.c

index 3e96b26..3ae8b89 100644 (file)
@@ -2813,7 +2813,7 @@ redo_frame:
                 }
             }
             s->avctx->error[plane_index] += error;
-            s->avctx->error[3] += error;
+            s->current_picture.error[plane_index] = error;
         }
     }