changeset 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 9dbe188e65ad
children be89c4518b8b
files libmpdemux/mpeg_packetizer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
 }