changeset 240:e3e0094cb5c9 libavcodec

block_last_index was too large (in mpeg1 decoding)
author michaelni
date Mon, 18 Feb 2002 00:31:16 +0000
parents 16cd8a9c4da4
children 4bb6289eff93
files mpeg12.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpeg12.c	Fri Feb 15 20:46:37 2002 +0000
+++ b/mpeg12.c	Mon Feb 18 00:31:16 2002 +0000
@@ -948,7 +948,7 @@
         block[j] = level;
         i++;
     }
-    s->block_last_index[n] = i;
+    s->block_last_index[n] = i-1;
     return 0;
 }