[rtmpdump] r247 - trunk/rtmpdump.c
hyc
subversion at mplayerhq.hu
Thu Feb 11 10:52:40 CET 2010
Author: hyc
Date: Thu Feb 11 10:52:39 2010
New Revision: 247
Log:
Fix audio resume bug
Modified:
trunk/rtmpdump.c
Modified: trunk/rtmpdump.c
==============================================================================
--- trunk/rtmpdump.c Tue Feb 9 21:04:27 2010 (r246)
+++ trunk/rtmpdump.c Thu Feb 11 10:52:39 2010 (r247)
@@ -1034,6 +1034,8 @@ Download(RTMP * rtmp, // connected RTMP
//Log(LOGDEBUG, "Writing data type: %02X", dataType);
fseek(file, 4, SEEK_SET);
fwrite(&dataType, sizeof(unsigned char), 1, file);
+ /* resume uses ftell to see where we left off */
+ fseek(file, 0, SEEK_END);
}
if (nRead == -3)
More information about the rtmpdump
mailing list