You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Missing const found by -Wwrite-strings.
Originally committed as revision 11841 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user