Remove a useless assignment in img_get_alpha_info() found by CSA.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2009 18:22:19 +0000 (18:22 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2009 18:22:19 +0000 (18:22 +0000)
Originally committed as revision 18582 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/imgconvert.c

index 08274c4..bd9d07a 100644 (file)
@@ -1335,7 +1335,6 @@ int img_get_alpha_info(const AVPicture *src,
     const PixFmtInfo *pf = &pix_fmt_info[pix_fmt];
     int ret;
 
-    pf = &pix_fmt_info[pix_fmt];
     /* no alpha can be represented in format */
     if (!pf->is_alpha)
         return 0;