avcodec/wrapped_avframe: Don't attach FrameDecodeData unnecessarily

It is unneeded, as this decoder does not call ff_get_buffer().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-05-11 14:12:00 +02:00
parent 104abea646
commit d31a3af6a9
1 changed files with 0 additions and 6 deletions

View File

@ -98,12 +98,6 @@ static int wrapped_avframe_decode(AVCodecContext *avctx, AVFrame *out,
av_frame_move_ref(out, in);
err = ff_attach_decode_data(out);
if (err < 0) {
av_frame_unref(out);
return err;
}
*got_frame = 1;
return 0;
}