rtmp: Check ff_rtmp_packet_create calls
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 23 May 2012 20:45:03 +0000 (22:45 +0200)
committerMartin Storsjö <martin@martin.st>
Wed, 23 May 2012 21:25:35 +0000 (00:25 +0300)
commitf645f1d6eadae8d67c832125186ad5b209e8ba03
treec402455e81f4070b5b576fdb6e2e9f43ccd1c710
parentc7448c182a701b4c6efc52e0224bcbecc1aa6c3b
rtmp: Check ff_rtmp_packet_create calls

Check malloc calls used by ff_rtmp_packet_create, unify error
handling and pass on error codes.

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