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>
Fri, 3 Oct 2014 01:40:58 +0000 (03:40 +0200)
commit9e43d92d6a16417aa06b62f0375212d528d1a484
treeb054b8f8b83bac9bcd350a6ad01c42114dba8619
parente13e928baa6b92ca3e967651550b11dc0bfaad27
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>
(cherry picked from commit b173f5c15572cc82f68128599722e689df4ff137)

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