Browse Source

4xm: fix calculation of the next output line position in decode_i2_frame().

The current code doesn't work unless width is an exact multiple of 16.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
tags/n0.10
Aneesh Dogra Ronald S. Bultje 14 years ago
parent
commit
893f137679
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/4xm.c

+ 1
- 1
libavcodec/4xm.c View File

@@ -640,7 +640,7 @@ static int decode_i2_frame(FourXContext *f, const uint8_t *buf, int length){
} }
dst+=16; dst+=16;
} }
dst += 16*stride - width;
dst += 16 * stride - x;
} }


return 0; return 0;


Loading…
Cancel
Save