From 87718654b18491c740a928d8aee4255d2af4cd8b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 17 Apr 2009 15:10:37 +0000 Subject: [PATCH] Remove redundant assignment from avcodec_get_pix_fmt_loss() found by CSA. Originally committed as revision 18564 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 6a8c88c447..23a524f7f4 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -863,7 +863,6 @@ int avcodec_get_pix_fmt_loss(enum PixelFormat dst_pix_fmt, enum PixelFormat src_ int loss; ps = &pix_fmt_info[src_pix_fmt]; - pf = &pix_fmt_info[dst_pix_fmt]; /* compute loss */ loss = 0;