diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-04 00:26:43 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-04 00:26:43 +0000 |
commit | 4cf97abb98fb5755342ee7eb0d15cc4786387b5e (patch) | |
tree | 891acbe27fecfcf5cb77cacc70a5205d1450bf68 | |
parent | 20e4beaef73bb249c429a6af491c863fdff1df06 (diff) | |
download | ffmpeg-4cf97abb98fb5755342ee7eb0d15cc4786387b5e.tar.gz |
Missing const found by -Wwrite-strings.
Originally committed as revision 11841 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/nutenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c index 8d05377740..bd326bca67 100644 --- a/libavformat/nutenc.c +++ b/libavformat/nutenc.c @@ -317,7 +317,7 @@ static int write_streamheader(NUTContext *nut, ByteIOContext *bc, AVCodecContext return 0; } -static int add_info(ByteIOContext *bc, char *type, char *value){ +static int add_info(ByteIOContext *bc, const char *type, const char *value){ put_str(bc, type); put_s(bc, -1); put_str(bc, value); |