Skip to content
Snippets Groups Projects
Commit cde1e7db authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Michael Niedermayer
Browse files

vorbis: unref the skipped first frame.

parent 713ac210
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment