Commit 674fa491 authored by Anton Khirnov's avatar Anton Khirnov

avconv: do not call avcodec_get_frame_defaults()

Strictly speaking it is not correct to call it on refcounted frames, in
any case it is unnecessary, since filtered_frame is always unreferenced
after poll_filter() returns.
parent 94313562
......@@ -642,8 +642,7 @@ static int poll_filter(OutputStream *ost)
if (!ost->filtered_frame && !(ost->filtered_frame = av_frame_alloc())) {
} else
filtered_frame = ost->filtered_frame;
if (ost->enc->type == AVMEDIA_TYPE_AUDIO &&
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