ffmpeg | branch: master | Diego Biurrun <di...@biurrun.de> | Fri Oct 30 15:21:19 2015 +0100| [8ddfa5ae5ef64a25dd087d74954ebdb9081f0d67] | committer: Diego Biurrun
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] > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8ddfa5ae5ef64a25dd087d74954ebdb9081f0d67 --- libavfilter/vf_drawtext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index 994eea3..d119251 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) _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog