OSDN Git Service

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>
Sun, 22 Feb 2015 23:46:00 +0000 (00:46 +0100)
commit39e4ed7c1d8d840be47f6d604704d47a59a9ae5d
treed52802aee601fd054baab4aa540db656366fb870
parentfab8b88a5ebc0e05b0bf3d317439d9dcc676d8d1
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>
libavcodec/a64multienc.c