diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-10-30 15:21:19 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-11-12 16:47:07 +0100 |
commit | 8ddfa5ae5ef64a25dd087d74954ebdb9081f0d67 (patch) | |
tree | f355fca038852895f524d6cd9ad3a6a66a27be2a /libavfilter | |
parent | fcbdd605b5409103c3f4bfa063ea270f2229b125 (diff) | |
download | ffmpeg-8ddfa5ae5ef64a25dd087d74954ebdb9081f0d67.tar.gz |
vf_drawtext: Drop wrong void* cast
libavfilter/vf_drawtext.c:844:49: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
Diffstat (limited to 'libavfilter')
-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 994eea3c0c..d119251712 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -840,7 +840,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); if (glyph->bitmap.pixel_mode != FT_PIXEL_MODE_MONO && glyph->bitmap.pixel_mode != FT_PIXEL_MODE_GRAY) |