lavc: use av_mallocz to allocate AVFrames.
authorAnton Khirnov <anton@khirnov.net>
Mon, 24 Sep 2012 05:17:13 +0000 (07:17 +0200)
committerAnton Khirnov <anton@khirnov.net>
Mon, 24 Sep 2012 10:31:24 +0000 (12:31 +0200)
commitc084a975aa13eb1d0161f36a06051a9b2d4abb83
tree241e40266499ec952f3b7dc9f310046169f946c1
parenta83499b13b5bbe7289f33b757313efe83b7698fb
lavc: use av_mallocz to allocate AVFrames.

Otherwise the frame is uninitialized, so avcodec_get_frame_defaults()
cannot determine whether to free extended_data.
libavcodec/utils.c