aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-04-17 18:22:19 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-04-17 18:22:19 +0000
commit16a5f4caa95acb000ae9fc12ec228258b5b18564 (patch)
tree91312942d788ee9ec752d02638d1fde87831a9e2
parentf8112810cf2f1b03e7b4f2cf87728b833d4b51bd (diff)
downloadffmpeg-16a5f4caa95acb000ae9fc12ec228258b5b18564.tar.gz
Remove a useless assignment in img_get_alpha_info() found by CSA.
Originally committed as revision 18582 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/imgconvert.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
index 08274c4034..bd9d07a430 100644
--- a/libavcodec/imgconvert.c
+++ b/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;