av_frame_copy_props: fix unintended self assignment

Fixes CID1061052

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-08-07 17:27:07 +02:00
parent f3b7f47070
commit 60ae776d04
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src)
dst->display_picture_number = src->display_picture_number;
dst->decode_error_flags = src->decode_error_flags;
dst->colorspace = src->colorspace;
dst->color_range = dst->color_range;
dst->color_range = src->color_range;
av_dict_copy(&dst->metadata, src->metadata, 0);