Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kalvachev <ikalvachev@gmail.com>2005-11-21 02:09:05 +0300
committerIvan Kalvachev <ikalvachev@gmail.com>2005-11-21 02:09:05 +0300
commit31a78b718beb4cd5e73be90c3db5c7ea1eddb2f0 (patch)
tree119a3dc4cce190613d071f44772686e4200d2eff /libavcodec
parenta8289180a1bf85b3a7f29446ca79e57a1d07cffe (diff)
Mark all 12 block unused when there are no coded blocks
Fixes 422/444 artifacts Originally committed as revision 4708 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 94450a0a2d..a97b8bbaa1 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -1436,7 +1436,7 @@ static int mpeg_decode_mb(MpegEncContext *s,
}
}
}else{
- for(i=0;i<6;i++)
+ for(i=0;i<12;i++)
s->block_last_index[i] = -1;
}
}