oggdec: fix invalid free on error
authorwm4 <nfxjfg@googlemail.com>
Sat, 30 Aug 2014 13:39:15 +0000 (15:39 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 30 Aug 2014 14:38:14 +0000 (16:38 +0200)
commitb173f5c15572cc82f68128599722e689df4ff137
tree156b2e4e0076dd9c62dc090ccbc26756f1b079e5
parente2cd28c9265e21b1eeeceaece1da4109712e7555
oggdec: fix invalid free on error

The read_packet callback passes a pointer to a stack-allocated AVPacket.
Attempting to free it with av_free() makes no sense.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/oggdec.c