From f8112810cf2f1b03e7b4f2cf87728b833d4b51bd Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 17 Apr 2009 18:20:12 +0000 Subject: [PATCH] Remove redundant assignment in av_picture_copy() found by CSA. Originally committed as revision 18581 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/imgconvert.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 23a524f7f4..08274c4034 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -1072,7 +1072,6 @@ void av_picture_copy(AVPicture *dst, const AVPicture *src, int i; const PixFmtInfo *pf = &pix_fmt_info[pix_fmt]; - pf = &pix_fmt_info[pix_fmt]; switch(pf->pixel_type) { case FF_PIXEL_PACKED: case FF_PIXEL_PLANAR: