Mercurial > libavformat.hg
comparison nutenc.c @ 3004:327814e7bf03 libavformat
Missing const found by -Wwrite-strings.
author | michael |
---|---|
date | Mon, 04 Feb 2008 00:26:43 +0000 |
parents | 7e246e837176 |
children | 66fb9d4dea91 |
comparison
equal
deleted
inserted
replaced
3003:532809e27981 | 3004:327814e7bf03 |
---|---|
315 break; | 315 break; |
316 } | 316 } |
317 return 0; | 317 return 0; |
318 } | 318 } |
319 | 319 |
320 static int add_info(ByteIOContext *bc, char *type, char *value){ | 320 static int add_info(ByteIOContext *bc, const char *type, const char *value){ |
321 put_str(bc, type); | 321 put_str(bc, type); |
322 put_s(bc, -1); | 322 put_s(bc, -1); |
323 put_str(bc, value); | 323 put_str(bc, value); |
324 return 1; | 324 return 1; |
325 } | 325 } |