h264: Clear ERContext.cur_pic when unref'ing current picture.
authorDale Curtis <dalecurtis@chromium.org>
Thu, 2 Jan 2014 22:29:38 +0000 (14:29 -0800)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 7 Jan 2014 02:05:30 +0000 (03:05 +0100)
commitdcf0f82d08e88ea952aa97c16e4e774ce6c2ceb8
treee9e9b80733d5c2f5e7bb295d4bbd890bab84bebf
parent061e94815322a0702977491158c0b5cbaca3ccc4
h264: Clear ERContext.cur_pic when unref'ing current picture.

Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
(cherry picked from commit 4feca2214a0b69dcbe4d1c7cd145c3881459e867)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.c