# HG changeset patch # User michael # Date 1235236629 0 # Node ID 231e8535e00e6819e8856946483b0aff53d86175 # Parent 206d0cfa3163cde02db550d4dec4c5c29a037b8e indent diff -r 206d0cfa3163 -r 231e8535e00e rawdec.c --- a/rawdec.c Sat Feb 21 16:03:23 2009 +0000 +++ b/rawdec.c Sat Feb 21 17:17:09 2009 +0000 @@ -93,8 +93,8 @@ } static void flip(AVCodecContext *avctx, AVPicture * picture){ - picture->data[0] += picture->linesize[0] * (avctx->height-1); - picture->linesize[0] *= -1; + picture->data[0] += picture->linesize[0] * (avctx->height-1); + picture->linesize[0] *= -1; } static int raw_decode(AVCodecContext *avctx, @@ -134,7 +134,7 @@ } if(context->flip) - flip(avctx, picture); + flip(avctx, picture); if (avctx->codec_tag == MKTAG('Y', 'V', '1', '2')) {