summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-29 07:42:31 +0000
committerhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-29 07:42:31 +0000
commit9b94c1387a07cb2c99a4b9716b19724584b03824 (patch)
tree6920e510adb738c53a1f75c8425cb4bf379c8177 /libmpdemux
parente639f9cf90c820b957247c88bc3ab19ee90787c1 (diff)
downloadmpv-9b94c1387a07cb2c99a4b9716b19724584b03824.tar.bz2
mpv-9b94c1387a07cb2c99a4b9716b19724584b03824.tar.xz
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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24653 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_lavf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demux_lavf.c b/libmpdemux/demux_lavf.c
index 64d8c04970..5d1855cd05 100644
--- a/libmpdemux/demux_lavf.c
+++ b/libmpdemux/demux_lavf.c
@@ -250,7 +250,7 @@ static int lavf_check_preferred_file(demuxer_t *demuxer){
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:";