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, 21 Mar 2015 00:52:51 +0000 (01:52 +0100)
commit99d2d1404c7daeac5f4c0495a44eabcc86a386e6
treeeb458d980d748836ea4d2cf94dfeb2f180c5a704
parentcb1c9294f3c20622effb63593822ce3be3fc0436
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