git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feb15ce
)
4xm: fix calculation of the next output line position in decode_i2_frame().
author
Aneesh Dogra
<lionaneesh@gmail.com>
Wed, 4 Jan 2012 19:12:26 +0000
(
00:42
+0530)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Thu, 5 Jan 2012 05:09:22 +0000
(21:09 -0800)
The current code doesn't work unless width is an exact multiple of 16.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/4xm.c
patch
|
blob
|
history
diff --git
a/libavcodec/4xm.c
b/libavcodec/4xm.c
index
83f0a12
..
7cda26e
100644
(file)
--- a/
libavcodec/4xm.c
+++ b/
libavcodec/4xm.c
@@
-640,7
+640,7
@@
static int decode_i2_frame(FourXContext *f, const uint8_t *buf, int length){
}
dst+=16;
}
- dst += 16
*stride - width
;
+ dst += 16
* stride - x
;
}
return 0;