[FFmpeg-devel] [PATCH 6/9] ffplay: add cast to fix warning in configure_video_filters()

Stefano Sabatini stefasab at gmail.com
Sat Jun 23 00:46:38 CEST 2012


On date Friday 2012-06-22 17:52:47 +0200, Michael Niedermayer encoded:
> On Fri, Jun 22, 2012 at 12:11:20PM +0200, Stefano Sabatini wrote:
> > Fix warning:
> > ffplay.c:1578:40: warning: passing argument 5 of ‘avfilter_graph_create_filter’ discards ‘const’ qualifier from pointer target type [enabled by default]
> > libavfilter/avfiltergraph.h:84:5: note: expected ‘void *’ but argument is of type ‘const enum PixelFormat *’
> > ---
> >  ffplay.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> should be ok

Applied.
-- 
FFmpeg = Foolish and Fundamental Merciless Peaceless Enchanting Gem


More information about the ffmpeg-devel mailing list