From 3b56fa85e8f50db83b54518ae31ebdb3f6b0cc39 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sat, 6 Mar 2021 20:22:14 +0100 Subject: avutil/frame: Remove deprecated AVFrame.error Deprecated in 1aa24df74c052a73175c43e57d35b4835e537ec8. Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer --- libavcodec/snowenc.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libavcodec/snowenc.c') diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c index 255968341a..e694d51a67 100644 --- a/libavcodec/snowenc.c +++ b/libavcodec/snowenc.c @@ -1865,12 +1865,6 @@ redo_frame: (s->avctx->flags&AV_CODEC_FLAG_PSNR) ? 4 : 0, s->current_picture->pict_type); -#if FF_API_ERROR_FRAME -FF_DISABLE_DEPRECATION_WARNINGS - memcpy(s->current_picture->error, s->encoding_error, sizeof(s->encoding_error)); -FF_ENABLE_DEPRECATION_WARNINGS -#endif - pkt->size = ff_rac_terminate(c, 0); if (s->current_picture->key_frame) pkt->flags |= AV_PKT_FLAG_KEY; -- cgit v1.2.3