[libav-devel] [PATCH 10/12] frame: copy flags in av_frame_copy_props()

Luca Barbato lu_zero at gentoo.org
Sat Nov 30 01:43:38 CET 2013


On 29/11/13 20:52, Anton Khirnov wrote:
> Flags can be considered metadata (at least those that are defined now).
> ---
>  libavutil/frame.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavutil/frame.c b/libavutil/frame.c
> index 99bdd8a..9742e2e 100644
> --- a/libavutil/frame.c
> +++ b/libavutil/frame.c
> @@ -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));
>  
> 

Ok.


More information about the libav-devel mailing list