diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-25 22:51:23 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-25 22:51:23 +0000 |
commit | 2b7b000b80a52b2ea9825e655ac7226dc0351acf (patch) | |
tree | 71f75cf5311b9d93fe12a11e14049e3c5048eac7 /libass/ass_mp.c | |
parent | 72d18a204fa7cd3b2ed92edcb54cb5190b40dfc1 (diff) |
Add const to ass_read_stream fname argument, the string is not modified.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30740 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass_mp.c')
-rw-r--r-- | libass/ass_mp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_mp.c b/libass/ass_mp.c index 77d1538aa9..2da7cbca03 100644 --- a/libass/ass_mp.c +++ b/libass/ass_mp.c @@ -218,7 +218,7 @@ ass_track_t* ass_read_subdata(ass_library_t* library, sub_data* subdata, double 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; |