[FFmpeg-soc] [soc]: r1314 - dirac/libavcodec/dirac.c
marco
subversion at mplayerhq.hu
Sun Sep 9 14:36:49 CEST 2007
Author: marco
Date: Sun Sep 9 14:36:49 2007
New Revision: 1314
Log:
fix vertical block range
Modified:
dirac/libavcodec/dirac.c
Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c (original)
+++ dirac/libavcodec/dirac.c Sun Sep 9 14:36:49 2007
@@ -3439,7 +3439,7 @@ static int dirac_encode_blockdata(DiracC
/* XXX: Fill the Motion Vectors with semi-random data for
testing. */
for (x = 0; x < s->blwidth; x++) {
- for (y = 0; y < s->blwidth; y++) {
+ for (y = 0; y < s->blheight; y++) {
struct dirac_blockmotion *bl = &s->blmotion[y * s->blwidth + x];
bl->use_ref = (x + y) % 4;
More information about the FFmpeg-soc
mailing list