Mercurial > audlegacy-plugins
diff src/alac/plugin.c @ 85:86ce11c6b8c3 trunk
[svn] - Imported a few changes from alac decoder 0.1.3
- Added myself to AUTHORS
author | js |
---|---|
date | Wed, 04 Oct 2006 21:01:38 -0700 |
parents | 722fd456ae1a |
children | 6e1002ea4ded |
line wrap: on
line diff
--- a/src/alac/plugin.c Wed Oct 04 18:42:11 2006 -0700 +++ b/src/alac/plugin.c Wed Oct 04 21:01:38 2006 -0700 @@ -312,7 +312,7 @@ TitleInput *ti; gchar *title; - memset(&demux_res, '\0', sizeof(demux_res_t)); + memset(&demux_res, 0, sizeof(demux_res)); set_endian(); @@ -320,12 +320,12 @@ input_stream = stream_create_file(input_file, 1); if (!input_stream) - return 0; + return 1; /* if qtmovie_read returns successfully, the stream is up to * the movie data, which can be used directly by the decoder */ if (!qtmovie_read(input_stream, &demux_res)) - return 0; + return 1; demux_res.stream = input_stream;