mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
This patch marks frames used in RPZA decoder as reference frames, from
Roberto Togni (rtogni at freemail.it) Originally committed as revision 2347 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e5021fffce
commit
7238579835
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user