diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-08-10 13:23:04 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:15:48 +0200 |
commit | a62d145bdf549bbd90a97b9fc39385a13ea0471d (patch) | |
tree | aac36242728b4c46e83321cda8a1bc48a06653fc /ass_mp.c | |
parent | fb46c7bdbea4548f830843deffdd6136cb39e9f9 (diff) | |
download | mpv-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |