Skip to content
Snippets Groups Projects
Commit 565f786d authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

ffprobe: Dont clear AVFrame between uses.


The old API required this clearing in the past, the new API does not
require it.

Fixes memleak
Regression introduced by 37a74901

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent baeda2bf
No related branches found
No related tags found
No related merge requests found
......@@ -1789,7 +1789,6 @@ static av_always_inline int process_frame(WriterContext *w,
AVSubtitle sub;
int ret = 0, got_frame = 0;
avcodec_get_frame_defaults(frame);
if (dec_ctx->codec) {
switch (dec_ctx->codec_type) {
case AVMEDIA_TYPE_VIDEO:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment