hevc: unref the current frame if frame_start() fails
authorAnton Khirnov <anton@khirnov.net>
Thu, 20 Nov 2014 08:41:56 +0000 (09:41 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 27 Jan 2015 07:34:56 +0000 (08:34 +0100)
commit443b71928b2f36362e805c037751e6c3c79ea4e8
treeea282ad20616ee181371e9018c47ed5526c30aa7
parent1dd021929f8157b88529ce1e6ab6351dd2899e89
hevc: unref the current frame if frame_start() fails

Prevents DPB from filling up with damaged input.
libavcodec/hevc.c