Browse Source

Missing const found by -Wwrite-strings.

Originally committed as revision 11841 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
4cf97abb98
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/nutenc.c

+ 1
- 1
libavformat/nutenc.c View File

@@ -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);


Loading…
Cancel
Save