diff --git a/libavcodec/rpza.c b/libavcodec/rpza.c index 8027cfd9ab..675d7f34ca 100644 --- a/libavcodec/rpza.c +++ b/libavcodec/rpza.c @@ -267,6 +267,7 @@ static int rpza_decode_frame(AVCodecContext *avctx, s->buf = buf; s->size = buf_size; + s->frame.reference = 1; if (avctx->get_buffer(avctx, &s->frame)) { printf (" RPZA Video: get_buffer() failed\n"); return -1;