[FFmpeg-cvslog] av_frame_copy_props: fix unintended self assignment
Michael Niedermayer
git at videolan.org
Wed Aug 7 17:33:05 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Aug 7 17:27:07 2013 +0200| [60ae776d04b69af23ea517cbf140bfd4bae7ddcb] | committer: Michael Niedermayer
av_frame_copy_props: fix unintended self assignment
Fixes CID1061052
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=60ae776d04b69af23ea517cbf140bfd4bae7ddcb
---
libavutil/frame.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/frame.c b/libavutil/frame.c
index a06d525..5021d07 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);
More information about the ffmpeg-cvslog
mailing list