smacker: remove unnecessary call to avctx->release_buffer in decode_frame()
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 26 Apr 2011 09:37:36 +0000 (11:37 +0200)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 27 Apr 2011 14:41:59 +0000 (07:41 -0700)
commit4f2954e2327c211f3fbe20b84f4881e1f8df1528
treea6c0e1e7324ac182981bbd447e2aa344c4370043
parent5eef4afb9a5c637229469036285fa9a334f6f7d4
smacker: remove unnecessary call to avctx->release_buffer in decode_frame()

The release_buffer was cleaning the provided frame, thus causing the
successive call to avctx->reget_buffer() to allocate a new frame.  In
case the returned frame was not the same one previously returned but a
new one with different data, it resulted in artifacts.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/smacker.c