Commit c342132f authored by Anton Khirnov's avatar Anton Khirnov

frame: copy flags in av_frame_copy_props()

Flags can be considered metadata (at least those that are defined now).
parent a1ee1648
......@@ -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));
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