[MPlayer-dev-eng] [PATCH] fix missing return in mpeg_packetizer.c

Nico Sabbi nicola_sabbi at fastwebnet.it
Mon Oct 9 00:41:51 CEST 2006


Dominik 'Rathann' Mierzejewski wrote:

>Fixes
>mpeg_packetizer.c:145: warning: no return statement in function returning non-void
>warning.
>
>  
>
>------------------------------------------------------------------------
>
>--- MPlayer-20114/libmpdemux/mpeg_packetizer.c.warn	2006-08-15 11:18:09.000000000 +0200
>+++ MPlayer-20114/libmpdemux/mpeg_packetizer.c	2006-10-08 16:52:45.000000000 +0200
>@@ -141,7 +141,7 @@
> send_mpeg_pes_packet (unsigned char *data, int len, int id, uint64_t pts,
>                       int type, int my_write (unsigned char *data, int len))
> {
>-    send_mpeg_pes_packet_ll(data, len, id, pts, type, NULL, 0, 0, my_write);
>+    return send_mpeg_pes_packet_ll(data, len, id, pts, type, NULL, 0, 0, my_write);
> }
> 
> 
>  
>
>------------------------------------------------------------------------
>
>  
>

ok



More information about the MPlayer-dev-eng mailing list