Remove redundant assignment from avcodec_get_pix_fmt_loss() found by CSA.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2009 15:10:37 +0000 (15:10 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2009 15:10:37 +0000 (15:10 +0000)
Originally committed as revision 18564 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/imgconvert.c

index 6a8c88c..23a524f 100644 (file)
@@ -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;