ffmpeg | branch: master | Carl Eugen Hoyos <[email protected]> | 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
 

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to