Remove redundant assignment in av_picture_copy() found by CSA.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2009 18:20:12 +0000 (18:20 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2009 18:20:12 +0000 (18:20 +0000)
Originally committed as revision 18581 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/imgconvert.c

index 23a524f..08274c4 100644 (file)
@@ -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: