Commit cde1e7db authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Michael Niedermayer

vorbis: unref the skipped first frame.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 713ac210
......@@ -1752,6 +1752,7 @@ static int vorbis_decode_frame(AVCodecContext *avctx, void *data,
if (!vc->first_frame) {
vc->first_frame = 1;
*got_frame_ptr = 0;
av_frame_unref(frame);
return buf_size;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment