yop: Clear all references to the AVBuffer in the local AVPacket
authorMartin Storsjö <martin@martin.st>
Thu, 19 Sep 2013 13:49:48 +0000 (16:49 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 19 Sep 2013 19:46:21 +0000 (22:46 +0300)
commitd8b68660145c76a23fc9665f96932449514ecad2
tree4bc41f8ee267d51f55a62aa4a4fb07ad056c1f64
parent3185a80259ce1f8f8111073dbd14a69a396e03a3
yop: Clear all references to the AVBuffer in the local AVPacket

This makes sure that it doesn't try to free an AVBuffer belonging
to an earlier packet when we free the local packet at the end.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/yop.c