Mercurial > mplayer.hg
diff libass/ass_mp.c @ 30698:1f2ecb6a3f3d
Add const to ass_read_stream fname argument, the string is not modified.
author | reimar |
---|---|
date | Thu, 25 Feb 2010 22:51:23 +0000 |
parents | 7446f58b6899 |
children | 76a13038105e |
line wrap: on
line diff
--- a/libass/ass_mp.c Thu Feb 25 22:47:04 2010 +0000 +++ b/libass/ass_mp.c Thu Feb 25 22:51:23 2010 +0000 @@ -218,7 +218,7 @@ return track; } -ass_track_t* ass_read_stream(ass_library_t* library, char *fname, char *charset) { +ass_track_t* ass_read_stream(ass_library_t* library, const char *fname, char *charset) { int i; char *buf = NULL; ass_track_t *track;