Remove a useless assignment in img_get_alpha_info() found by CSA.

Originally committed as revision 18582 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Michael Niedermayer 16 years ago
parent f8112810cf
commit 16a5f4caa9
  1. 1
      libavcodec/imgconvert.c

@ -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;

Loading…
Cancel
Save