vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sat Feb 25 15:45:45 2017 +0200| [0f16e431062f63dd64198a2bfd583afee97b30fe] | committer: Rémi Denis-Courmont
memstream: fix vlc_memstream_write() error return > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0f16e431062f63dd64198a2bfd583afee97b30fe --- src/text/memstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text/memstream.c b/src/text/memstream.c index 3bfd2e9..b1551ef 100644 --- a/src/text/memstream.c +++ b/src/text/memstream.c @@ -137,7 +137,7 @@ size_t vlc_memstream_write(struct vlc_memstream *ms, const void *ptr, error: ms->error = EOF; - return EOF; + return 0; } int vlc_memstream_putc(struct vlc_memstream *ms, int c) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
