[FFmpeg-cvslog] lavf/mpegts: Do not return the result of a (void) function from a void function.

Carl Eugen Hoyos git at videolan.org
Thu Aug 7 09:57:03 CEST 2014


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Thu Aug  7 09:55:40 2014 +0200| [7c73d215231adcf81c03c95caf5ed1f0c33c727b] | committer: Carl Eugen Hoyos

lavf/mpegts: Do not return the result of a (void) function from a void function.

Fixes compilation with Sun C 5.10.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7c73d215231adcf81c03c95caf5ed1f0c33c727b
---

 libavformat/mpegts.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 55816de..2b18695 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
 



More information about the ffmpeg-cvslog mailing list