From 7c73d215231adcf81c03c95caf5ed1f0c33c727b Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 7 Aug 2014 09:55:40 +0200 Subject: [PATCH] lavf/mpegts: Do not return the result of a (void) function from a void function. Fixes compilation with Sun C 5.10. --- libavformat/mpegts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 55816de6c0..2b18695b25 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -2689,7 +2689,7 @@ int ff_mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt, void ff_mpegts_parse_close(MpegTSContext *ts) { - return avpriv_mpegts_parse_close(ts); + avpriv_mpegts_parse_close(ts); } #endif