[vlc-commits] stream_filter: ifo: use VLC_EGENERIC
Francois Cartegnie
git at videolan.org
Tue Feb 27 14:19:39 CET 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Feb 27 14:15:58 2018 +0100| [20b7c98d5ca3c0247f1e76c65f26a98d4e4d69a5] | committer: Francois Cartegnie
stream_filter: ifo: use VLC_EGENERIC
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=20b7c98d5ca3c0247f1e76c65f26a98d4e4d69a5
---
modules/demux/playlist/ifo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/playlist/ifo.c b/modules/demux/playlist/ifo.c
index b1fa7f4151..5f7167bebc 100644
--- a/modules/demux/playlist/ifo.c
+++ b/modules/demux/playlist/ifo.c
@@ -102,7 +102,7 @@ static int ReadDVD( stream_t *p_stream, input_item_node_t *node )
const char *psz_location = StreamLocation(p_stream);
if( asprintf( &psz_url, "dvd://%s", psz_location ) == -1 )
- return 0;
+ return VLC_EGENERIC;
input_item_t *p_input = input_item_New( psz_url, psz_url );
input_item_node_AppendItem( node, p_input );
@@ -121,7 +121,7 @@ static int ReadDVD_VR( stream_t *p_stream, input_item_node_t *node )
char *psz_url = strdup( psz_location );
if( unlikely( psz_url == NULL ) )
- return 0;
+ return VLC_EGENERIC;
strcpy( &psz_url[len - 12], "VR_MOVIE.VRO" );
More information about the vlc-commits
mailing list