ffmpeg: Fix crash with ost->last_frame allocation failure
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 14 Jul 2015 11:02:19 +0000 (13:02 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 14 Jul 2015 11:03:35 +0000 (13:03 +0200)
commitfd4c87fa3becaf8a6c480db915daf51e297b76c5
tree78e92f9c4833c20a5ac25843a7db0e7bc6dca62c
parentbd27dc910248a5da1ac187ac0dd1d1e22bc54a04
ffmpeg: Fix crash with ost->last_frame allocation failure

Fixes: 1013dbde2c360d939cc2dfc33e4f275c_signal_sigsegv_a0500f_45_320vp3.nsv with memlimit of 536870912

Found-by: Samuel GroƟ, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
ffmpeg.c