avcodec/a64multienc: use av_frame_ref instead of copying the frame
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 22 Feb 2015 19:43:30 +0000 (20:43 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 14 Mar 2015 13:27:23 +0000 (14:27 +0100)
commitbaa1738f99187fc2c6ce16e5e79d45d1eb555d63
tree002f5f249b2109cc5b849db6e3e067a66ff83f2a
parent1a396d1ee0d6114af4397c6335877fb28f897d37
avcodec/a64multienc: use av_frame_ref instead of copying the frame

This fixes freeing the frame buffer twice on cleanup leading to a crash.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 39e4ed7c1d8d840be47f6d604704d47a59a9ae5d)

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