diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-10-23 11:46:41 -0400 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-10-24 15:14:59 -0400 |
commit | 4c96985af1b8870482b6b6ef9120960633f62cee (patch) | |
tree | 6ca875a85c153086750bf90be45a14fd4c9b636a /libavfilter/vf_drawtext.c | |
parent | 49d8a70dc51ea5f05d747b4acc4e772252e86cbc (diff) | |
download | ffmpeg-4c96985af1b8870482b6b6ef9120960633f62cee.tar.gz |
all: remove some casts of function pointer to void *
These casts are unnecessary, and may safely be removed.
Found by enabling -Wpedantic on clang 3.7.
Tested with FATE.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavfilter/vf_drawtext.c')
-rw-r--r-- | libavfilter/vf_drawtext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index 8e21693534..5c4676e6a4 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -1087,7 +1087,7 @@ static int draw_glyphs(DrawTextContext *s, AVFrame *frame, continue; dummy.code = code; - glyph = av_tree_find(s->glyphs, &dummy, (void *)glyph_cmp, NULL); + glyph = av_tree_find(s->glyphs, &dummy, glyph_cmp, NULL); bitmap = borderw ? glyph->border_bitmap : glyph->bitmap; |