ffmpegdec: avoid allocating and leaking local avpacket helpers
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Wed, 29 Jun 2011 14:22:48 +0000 (16:22 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 30 Jun 2011 09:49:39 +0000 (11:49 +0200)
commit856dbe6f2150cea571640c841140d395e9e34890
treefd4aa20cb1b7e39ff7bf7e462bd42eae58c7e8be
parentd9e60c1d5c2d86b7fc2bd16880c1b19647a65fd9
ffmpegdec: avoid allocating and leaking local avpacket helpers

... by _init'ing them as locals rather than _new'ing them.

Fixes #653648.
ext/ffmpeg/gstffmpegdec.c