On Wed, Jul 15, 2015 at 04:56:28PM +0200, Michael Niedermayer wrote: > From: Michael Niedermayer <michael at niedermayer.cc> > > The previous code used uninitialized memory and could randomly crash The code might be older than av_frame_alloc :) But patches look fine to me.