# HG changeset patch # User henry # Date 1191051751 0 # Node ID 2bc6fcc627f4f7be59f3380dd00661b832d9b3df # Parent c04b8d25748a95c04960f31e4630aad113f451ac fix warnings demux_lavf.c: In function ¡Ædemux_open_lavf¡Ç: demux_lavf.c:276: warning: assignment discards qualifiers from pointer target type demux_lavf.c:280: warning: assignment discards qualifiers from pointer target type diff -r c04b8d25748a -r 2bc6fcc627f4 libmpdemux/demux_lavf.c --- a/libmpdemux/demux_lavf.c Sat Sep 29 07:18:39 2007 +0000 +++ b/libmpdemux/demux_lavf.c Sat Sep 29 07:42:31 2007 +0000 @@ -250,7 +250,7 @@ static demuxer_t* demux_open_lavf(demuxer_t *demuxer){ AVFormatContext *avfc; AVFormatParameters ap; - AVOption *opt; + const AVOption *opt; lavf_priv_t *priv= demuxer->priv; int i,g; char mp_filename[256]="mp:";