rtmp: Factorize the code by adding find_tracked_method
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 11 Aug 2012 10:41:32 +0000 (12:41 +0200)
committerMartin Storsjö <martin@martin.st>
Sat, 11 Aug 2012 12:15:51 +0000 (15:15 +0300)
commita8103503b348966d0bd83cd57f2b4e661d5d6458
treed1fbd8bf742a0b4e3a057c1033a55f84701c8c74
parent885da7b08289321b88919e86d1574c8683a95a22
rtmp: Factorize the code by adding find_tracked_method

Also fix the bytestream reader size parameter to take the
offset into account.

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