summaryrefslogtreecommitdiff
path: root/libavcodec/imgconvert.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-04-17 15:10:37 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-04-17 15:10:37 +0000
commit87718654b18491c740a928d8aee4255d2af4cd8b (patch)
tree72ba148cc0a51a1a7c2b0089cfa5e64da0b0009a /libavcodec/imgconvert.c
parent956177fb1d8c2bfbb0036485a100ecd0901b079c (diff)
downloadffmpeg-87718654b18491c740a928d8aee4255d2af4cd8b.tar.gz
Remove redundant assignment from avcodec_get_pix_fmt_loss() found by CSA.
Originally committed as revision 18564 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r--libavcodec/imgconvert.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
index 6a8c88c447..23a524f7f4 100644
--- a/libavcodec/imgconvert.c
+++ b/libavcodec/imgconvert.c
@@ -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;