rtmpproto: Add function to read a number response
authorUwe L. Korn <uwelk@xhochy.com>
Tue, 14 Oct 2014 15:16:20 +0000 (17:16 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 17 Oct 2014 09:07:19 +0000 (12:07 +0300)
commit324b23dde1bc8638959eb32419c95a93906db272
tree2184522bf0878e198e51be36213e2ecf894086bb
parent47e3e1097e09da7f973908e09df15e3bb7c5e1f4
rtmpproto: Add function to read a number response

Packets that contain a number as a result to a rtmp function call are
structured the same way (String, Number, Null, Number). This new method
also includes more bounds checks to better handle packets that are not
structured as expected.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtmpproto.c