X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvf_swapuv.c;h=720e699c4a7d694ce66a61fb9f738cdf67ea9362;hb=3b56fa85e8f50db83b54518ae31ebdb3f6b0cc39;hp=8d62c48c4f532d7cd72920a3f0c6a075f30807ed;hpb=0181162bb54ce62ec212436a12d059726d8cd1df;p=ffmpeg diff --git a/libavfilter/vf_swapuv.c b/libavfilter/vf_swapuv.c index 8d62c48c4f5..720e699c4a7 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)