Andreas Rheinhardt: > Fixes the zerocodec FATE-test. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > --- > libavcodec/zerocodec.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/zerocodec.c b/libavcodec/zerocodec.c > index 93fc2834e4..42fb24ff6c 100644 > --- a/libavcodec/zerocodec.c > +++ b/libavcodec/zerocodec.c > @@ -84,11 +84,12 @@ static int zerocodec_decode_frame(AVCodecContext *avctx, > AVFrame *pic, > return AVERROR_INVALIDDATA; > } > > - if (!(avpkt->flags & AV_PKT_FLAG_KEY)) > + if (!(avpkt->flags & AV_PKT_FLAG_KEY)) { > for (j = 0; j < avctx->width << 1; j++) > dst[j] += prev[j] & -!dst[j]; > + prev -= prev_pic->linesize[0]; > + } > > - prev -= prev_pic->linesize[0]; > dst -= pic->linesize[0]; > } >
Will apply this patch tomorrow unless there are objections. - Andreas _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".