rtmppkt: Make pkt->data reallocable
authorMartin Storsjö <martin@martin.st>
Mon, 24 Nov 2014 08:41:34 +0000 (10:41 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 28 Nov 2014 07:59:28 +0000 (09:59 +0200)
commit44127b157e9f8acb837d4bb3a094f56b40da3ef5
tree09b3113ef81020839f172d91b186644332c95111
parent3c3b8003a13d9c3668c0bb6d79d2376da3b2b352
rtmppkt: Make pkt->data reallocable

We try to avoid mixing av_malloc with av_realloc, since av_malloc
may be implemented with functions that can't (formally) be mixed
with the functions used in av_realloc.

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