mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-23 17:05:00 +08:00
pngdec: use AVFrame accessor functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
metadata = NULL;
|
||||||
*picture = *s->current_picture;
|
*picture = *s->current_picture;
|
||||||
*got_frame = 1;
|
*got_frame = 1;
|
||||||
|
Reference in New Issue
Block a user