Commit 50f8a2a0 authored by tmmm's avatar tmmm

This patch marks frames used in RPZA decoder as reference frames, from

Roberto Togni (rtogni at freemail.it)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2347 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7a70dd59
...@@ -267,6 +267,7 @@ static int rpza_decode_frame(AVCodecContext *avctx, ...@@ -267,6 +267,7 @@ static int rpza_decode_frame(AVCodecContext *avctx,
s->buf = buf; s->buf = buf;
s->size = buf_size; s->size = buf_size;
s->frame.reference = 1;
if (avctx->get_buffer(avctx, &s->frame)) { if (avctx->get_buffer(avctx, &s->frame)) {
printf (" RPZA Video: get_buffer() failed\n"); printf (" RPZA Video: get_buffer() failed\n");
return -1; return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment