summaryrefslogtreecommitdiffstats
path: root/ass_mp.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-08-10 13:23:04 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:15:48 +0200
commita62d145bdf549bbd90a97b9fc39385a13ea0471d (patch)
treeaac36242728b4c46e83321cda8a1bc48a06653fc /ass_mp.c
parentfb46c7bdbea4548f830843deffdd6136cb39e9f9 (diff)
downloadmpv-a62d145bdf549bbd90a97b9fc39385a13ea0471d.tar.bz2
mpv-a62d145bdf549bbd90a97b9fc39385a13ea0471d.tar.xz
Simplify code: make open_stream() accept NULL file_format argument
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31952 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'ass_mp.c')
-rw-r--r--ass_mp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ass_mp.c b/ass_mp.c
index 4161397c95..0cbd5c084d 100644
--- a/ass_mp.c
+++ b/ass_mp.c
@@ -239,7 +239,7 @@ ASS_Track *ass_read_stream(ASS_Library *library, const char *fname, char *charse
size_t buf_alloc = 0;
stream_t *fd;
- fd = open_stream(fname, NULL, &i);
+ fd = open_stream(fname, NULL, NULL);
if (!fd)
// Stream code should have printed an error already
return NULL;