[FFmpeg-devel] Patch to reduce compiler warnings in ffplay.c

Måns Rullgård mans
Mon Jul 19 01:21:02 CEST 2010


Paul Sterne <make4ppc at gmail.com> writes:

> Patch to reduce compiler warnings in ffplay.c--
>
> Index: ffplay.c
> ===================================================================
> --- ffplay.c	(revision 24318)
> +++ ffplay.c	(working copy)
> @@ -3181,7 +3181,7 @@
>      SDL_EventState(SDL_USEREVENT, SDL_IGNORE);
>  
>      av_init_packet(&flush_pkt);
> -    flush_pkt.data= "FLUSH";
> +    flush_pkt.data = (uint8_t *)&"FLUSH";

I don't think so.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list