[MPlayer-cvslog] r37752 - trunk/stream/asf_mmst_streaming.c
reimar
subversion at mplayerhq.hu
Sat Feb 20 12:11:15 CET 2016
Author: reimar
Date: Sat Feb 20 12:11:15 2016
New Revision: 37752
Log:
Check streaming_bufferize result.
Avoids Coverity warning.
Modified:
trunk/stream/asf_mmst_streaming.c
Modified: trunk/stream/asf_mmst_streaming.c
==============================================================================
--- trunk/stream/asf_mmst_streaming.c Sat Feb 20 12:02:44 2016 (r37751)
+++ trunk/stream/asf_mmst_streaming.c Sat Feb 20 12:11:15 2016 (r37752)
@@ -419,7 +419,8 @@ static int get_media_packet (int s, int
return 0;
}
- streaming_bufferize(stream_ctrl, data, padding);
+ if (streaming_bufferize(stream_ctrl, data, padding) < 0)
+ return -1;
} else {
More information about the MPlayer-cvslog
mailing list