OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b5dc86
)
dont write over the end of ref_cache
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 14 May 2007 23:22:02 +0000
(23:22 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 14 May 2007 23:22:02 +0000
(23:22 +0000)
Originally committed as revision 9026 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/svq3.c
patch
|
blob
|
history
diff --git
a/libavcodec/svq3.c
b/libavcodec/svq3.c
index
eb79169
..
93e3cb3
100644
(file)
--- a/
libavcodec/svq3.c
+++ b/
libavcodec/svq3.c
@@
-480,7
+480,6
@@
static int svq3_decode_mb (H264Context *h, unsigned int mb_type) {
N??11111
N??11111
N??11111
- N
*/
for (m=0; m < 2; m++) {
@@
-939,7
+938,8
@@
static int svq3_decode_frame (AVCodecContext *avctx,
int j;
for(j=-1; j<4; j++)
h->ref_cache[m][scan8[0] + 8*i + j]= 1;
- h->ref_cache[m][scan8[0] + 8*i + j]= PART_NOT_AVAILABLE;
+ if(i<3)
+ h->ref_cache[m][scan8[0] + 8*i + j]= PART_NOT_AVAILABLE;
}
}