]> granicus.if.org Git - rtmpdump/commit
Read buffer fixes: We overallocated the buf by 4 bytes, but the result
authorhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Wed, 26 May 2010 15:16:25 +0000 (15:16 +0000)
committerhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Wed, 26 May 2010 15:16:25 +0000 (15:16 +0000)
commit97ec4869cb2edac9c1f1e74f13147575fa4df957
treecfe55e05de9dc99bde19e0745fa8832560bc2f82
parentff2415d14d7bd59311a60318d9e577530e69b7c8
Read buffer fixes: We overallocated the buf by 4 bytes, but the result
may not have needed the extra space. Also, don't return without reading
at least one packet. (Alternative: return early, but set EAGAIN...)

git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@485 400ebc74-4327-4243-bc38-086b20814532
librtmp/rtmp.c