[vlc-commits] demux: mp4: fix seek return value
Francois Cartegnie
git at videolan.org
Sat May 31 20:21:16 CEST 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu May 29 19:46:57 2014 +0200| [9b0c6e6b681e61a89b18ca04eaf01b588b128a28] | committer: Francois Cartegnie
demux: mp4: fix seek return value
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9b0c6e6b681e61a89b18ca04eaf01b588b128a28
---
modules/demux/mp4/mp4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 25ff40a..3861383 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -1049,7 +1049,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
(double)p_sys->i_timescale );
return Seek( p_demux, i64 );
}
- else return VLC_SUCCESS;
+ else return VLC_EGENERIC;
case DEMUX_GET_TIME:
pi64 = (int64_t*)va_arg( args, int64_t * );
More information about the vlc-commits
mailing list