av_frame_copy_props: fix unintended self assignment

Fixes CID1061052

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/37/head
Michael Niedermayer 12 years ago
parent f3b7f47070
commit 60ae776d04
  1. 2
      libavutil/frame.c

@ -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);

Loading…
Cancel
Save