[FFmpeg-cvslog] r9026 - trunk/libavcodec/svq3.c
michael
subversion
Tue May 15 01:22:02 CEST 2007
Author: michael
Date: Tue May 15 01:22:02 2007
New Revision: 9026
Log:
dont write over the end of ref_cache
Modified:
trunk/libavcodec/svq3.c
Modified: trunk/libavcodec/svq3.c
==============================================================================
--- trunk/libavcodec/svq3.c (original)
+++ trunk/libavcodec/svq3.c Tue May 15 01:22:02 2007
@@ -480,7 +480,6 @@ static int svq3_decode_mb (H264Context *
N??11111
N??11111
N??11111
- N
*/
for (m=0; m < 2; m++) {
@@ -939,7 +938,8 @@ static int svq3_decode_frame (AVCodecCon
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;
}
}
More information about the ffmpeg-cvslog
mailing list