summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/wrapped_avframe.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/wrapped_avframe.c b/libavcodec/wrapped_avframe.c
index 3af007d478..06c274eed0 100644
--- a/libavcodec/wrapped_avframe.c
+++ b/libavcodec/wrapped_avframe.c
@@ -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;
}