projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4dbd87
)
block_last_index was too large (in mpeg1 decoding)
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 18 Feb 2002 00:31:16 +0000
(
00:31
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 18 Feb 2002 00:31:16 +0000
(
00:31
+0000)
Originally committed as revision 301 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpeg12.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpeg12.c
b/libavcodec/mpeg12.c
index
906643d
..
b7af926
100644
(file)
--- a/
libavcodec/mpeg12.c
+++ b/
libavcodec/mpeg12.c
@@
-948,7
+948,7
@@
static int mpeg1_decode_block(MpegEncContext *s,
block[j] = level;
i++;
}
- s->block_last_index[n] = i;
+ s->block_last_index[n] = i
-1
;
return 0;
}