lavc: initialize output AVFrame before decoding.
authorAnton Khirnov <anton@khirnov.net>
Tue, 23 Oct 2012 06:22:23 +0000 (08:22 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 24 Oct 2012 06:46:45 +0000 (08:46 +0200)
commit1bc64c2814d409d3cc129c27c493ee915bebdc4a
tree4bd099889acdb63db50d0b1d0e43207a3d333fe3
parentc68317ebbe4915035df0b08c23eea7a0b80ab881
lavc: initialize output AVFrame before decoding.

Avoids memleaks with audio when extended_data is nontrivial and the user
doesn't reset the frame.
Shouldn't have any effect for video for now, but might be useful in the
future.
libavcodec/utils.c