]> git.sesse.net Git - vlc/blobdiff - modules/demux/aac.c
* all: do not implement DEMUX_SET_TIME. DEMUX_SET_TIME. should be
[vlc] / modules / demux / aac.c
index 0e41b0d44fc3f22b86eb200e2475c832960fe079..3ae6bf6112e303baa4ab0db0caf8f7333b7adaa1 100644 (file)
@@ -2,7 +2,7 @@
  * aac.c : Raw aac Stream input module for vlc
  *****************************************************************************
  * Copyright (C) 2001-2003 VideoLAN
- * $Id: aac.c,v 1.11 2004/03/03 20:39:51 gbazin Exp $
+ * $Id$
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *
@@ -263,8 +263,11 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
 {
     /* demux_sys_t *p_sys  = p_demux->p_sys; */
     /* FIXME calculate the bitrate */
-    return demux2_vaControlHelper( p_demux->s,
-                                   0, -1,
-                                   8*0, 1, i_query, args );
+    if( i_query == DEMUX_SET_TIME )
+        return VLC_EGENERIC;
+    else
+        return demux2_vaControlHelper( p_demux->s,
+                                       0, -1,
+                                       8*0, 1, i_query, args );
 }