aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorBobby Bingham <uhmmmm@gmail.com>2010-04-03 15:29:48 +0000
committerBobby Bingham <uhmmmm@gmail.com>2010-04-03 15:29:48 +0000
commit2bb962567e1c746680525e95e854cf186b7ca45a (patch)
tree68e4d62a30254de560efc5e49dc1343c47b8f361 /libavfilter/avfilter.c
parentc99baf05c3c2a4b441a1d8270f440247ba3af3d9 (diff)
downloadffmpeg-2bb962567e1c746680525e95e854cf186b7ca45a.tar.gz
Remove variable whose value was never read. Found by clang.
Originally committed as revision 22794 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index f11d6343c3..feba3d9c75 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -294,14 +294,13 @@ void avfilter_end_frame(AVFilterLink *link)
void avfilter_draw_slice(AVFilterLink *link, int y, int h, int slice_dir)
{
uint8_t *src[4], *dst[4];
- int i, j, hsub, vsub;
+ int i, j, vsub;
void (*draw_slice)(AVFilterLink *, int, int, int);
DPRINTF_START(NULL, draw_slice); dprintf_link(NULL, link, 0); dprintf(NULL, " y:%d h:%d dir:%d\n", y, h, slice_dir);
/* copy the slice if needed for permission reasons */
if(link->srcpic) {
- hsub = av_pix_fmt_descriptors[link->format].log2_chroma_w;
vsub = av_pix_fmt_descriptors[link->format].log2_chroma_h;
for(i = 0; i < 4; i ++) {