diff libmpdemux/mpeg_packetizer.c @ 20116:181ec6001b0e

Fixes mpeg_packetizer.c:145: warning: no return statement in function returning non-void Approved by Nico.
author rathann
date Sun, 08 Oct 2006 22:43:29 +0000
parents 5e5d323b1934
children f7151c256b72
line wrap: on
line diff
--- a/libmpdemux/mpeg_packetizer.c	Sun Oct 08 22:36:24 2006 +0000
+++ b/libmpdemux/mpeg_packetizer.c	Sun Oct 08 22:43:29 2006 +0000
@@ -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);
 }