[vlc-devel] commit: Minimalistic RTP demux ( Rémi Denis-Courmont )

Rafaël Carré funman at videolan.org
Tue Jun 3 22:08:32 CEST 2008


Le Tue,  3 Jun 2008 21:50:39 +0200 (CEST),
git at videolan.org (git version control) a écrit :

> vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com>
> | Tue Jun  3 22:43:29 2008 +0300|
> [f9dcddd88db1da17054b2eb2285ac7126772e38c]
> 
> Minimalistic RTP demux
> 
> Currently, only MP2T payload and UDP transport work.
> 
> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f9dcddd88db1da17054b2eb2285ac7126772e38c


+static int Control (demux_t *demux, int i_query, va_list args)
+{

..

+        case DEMUX_GET_POSITION:
+        {
+            float *v = va_arg (args, float *);
+            *v = 0.;
+            return 0;
+        }

..

+    return VLC_EGENERIC;
+}

Doesn't look like a good idea to mix plain integers and VLC_*, no ?

+    void    *opaque[0]; /* Per-source prviate payload data */
                                         ^^
-- 
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080603/0fda1684/attachment.sig>


More information about the vlc-devel mailing list