Author: spyfeng
Date: Sat Mar 20 16:43:11 2010
New Revision: 5689
Log:
handle the situation for read_result<0.
Modified:
mms/mmst.c
Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c Sat Mar 20 16:36:26 2010 (r5688)
+++ mms/mmst.c Sat Mar 20 16:43:11 2010 (r5689)
@@ -257,6 +257,8 @@ static int read_bytes(MMSContext *mms, u
while(len<length_to_read)
{
int read_result= url_read(mms->mms_hd, buffer+len, length_to_read-len);
+ if(read_result < 0)
+ return read_result;
if(read_result)
{
len+= read_result;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc