diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-07 17:27:07 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-07 17:27:07 +0200 |
commit | 60ae776d04b69af23ea517cbf140bfd4bae7ddcb (patch) | |
tree | 87f4f6e24c07073e40098812e1ffda882b9406dd /libavutil | |
parent | f3b7f470701224086d06012f1d9a31864abe9300 (diff) | |
download | ffmpeg-60ae776d04b69af23ea517cbf140bfd4bae7ddcb.tar.gz |
av_frame_copy_props: fix unintended self assignment
Fixes CID1061052
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/frame.c b/libavutil/frame.c index a06d525606..5021d0774e 100644 --- a/libavutil/frame.c +++ b/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); |