summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-06 20:22:14 +0100
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:12 -0300
commit3b56fa85e8f50db83b54518ae31ebdb3f6b0cc39 (patch)
tree1cea5cd874bf676302a24d0a9dff4f6420998817 /libavfilter
parent0181162bb54ce62ec212436a12d059726d8cd1df (diff)
avutil/frame: Remove deprecated AVFrame.error
Deprecated in 1aa24df74c052a73175c43e57d35b4835e537ec8. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_swapuv.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavfilter/vf_swapuv.c b/libavfilter/vf_swapuv.c
index 8d62c48c4f..720e699c4a 100644
--- a/libavfilter/vf_swapuv.c
+++ b/libavfilter/vf_swapuv.c
@@ -46,12 +46,6 @@ static void do_swap(AVFrame *frame)
FFSWAP(uint8_t*, frame->data[1], frame->data[2]);
FFSWAP(int, frame->linesize[1], frame->linesize[2]);
FFSWAP(AVBufferRef*, frame->buf[1], frame->buf[2]);
-
-#if FF_API_ERROR_FRAME
-FF_DISABLE_DEPRECATION_WARNINGS
- FFSWAP(uint64_t, frame->error[1], frame->error[2]);
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
}
static AVFrame *get_video_buffer(AVFilterLink *link, int w, int h)