1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

frame: copy flags in av_frame_copy_props()

Flags can be considered metadata (at least those that are defined now).
This commit is contained in:
Anton Khirnov 2013-11-29 20:40:34 +01:00
parent a1ee164869
commit c342132fa8

View File

@ -379,6 +379,7 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src)
dst->quality = src->quality;
dst->coded_picture_number = src->coded_picture_number;
dst->display_picture_number = src->display_picture_number;
dst->flags = src->flags;
memcpy(dst->error, src->error, sizeof(dst->error));