[MPlayer-dev-eng] [PATCH] fix missing return in mpeg_packetizer.c
Dominik 'Rathann' Mierzejewski
dominik at rangers.eu.org
Sun Oct 8 16:56:52 CEST 2006
Fixes
mpeg_packetizer.c:145: warning: no return statement in function returning non-void
warning.
--
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
-------------- next part --------------
--- 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);
}
More information about the MPlayer-dev-eng
mailing list