mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
plane predicted non-interlacd rgb decodeing fix
Originally committed as revision 3681 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
61c7c3e347
commit
fc0be57f66
@ -896,7 +896,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8
|
||||
|
||||
add_left_prediction_bgr32(p->data[0] + p->linesize[0]*y, s->temp[0], width, &leftr, &leftg, &leftb);
|
||||
if(s->predictor == PLANE){
|
||||
if((y&s->interlaced)==0 && y<s->height-2){
|
||||
if((y&s->interlaced)==0 && y<s->height-1-s->interlaced){
|
||||
s->dsp.add_bytes(p->data[0] + p->linesize[0]*y,
|
||||
p->data[0] + p->linesize[0]*y + fake_ystride, fake_ystride);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user