Hello to everyone on the forum.
I applied the patch attached
http://lists.mplayerhq.hu/pipermail/...attachment.bin
in this message in the rtmpdump mailing list
http://lists.mplayerhq.hu/pipermail/...er/001578.html
on the latest Git version and compiled rtmpdump in Windows for downloading the Daily Show stream on the Comedy Central website.
It does not work while my compiled version of the latest Git does but the download stops at about 15-20% of the file. Resuming works so I can download the whole file if I run rtmpdump 6-7 times but the file is sometimes corrupted (small skips presumably at the points rtmpdump resumes the download).
After comparing all the latest (2011-08-12) Git source with and without the patch applied the only difference was a line in "rtmp.c"
Code:
if (packet->m_nBodySize > 2 && packet->m_body[2] > 0x01)
that was changed to
Code:
if (packet->m_nBodySize > 2 && packet->m_body[2] > 0x02)
Is the above correct, does the patch only change one number in the
RTMPdump source?