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

Michael Niedermayer michaelni at gmx.at
Fri Jun 22 17:52:47 CEST 2012


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120622/aaad0f52/attachment.asc>


More information about the ffmpeg-devel mailing list