pngdec: use AVFrame accessor functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ff080346c6
commit
f59ff8faa2
@ -853,7 +853,7 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
}
|
||||
}
|
||||
|
||||
s->current_picture->metadata = metadata;
|
||||
av_frame_set_metadata(&s->current_picture, metadata);
|
||||
metadata = NULL;
|
||||
*picture = *s->current_picture;
|
||||
*got_frame = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user