Deprecated in 1aa24df74c052a73175c43e57d35b4835e537ec8.
Showing the changes to libavfilter (1 of 6 files). Show all
Unified · Split
| @@ -46,12 +46,6 @@ static void do_swap(AVFrame *frame) · 45 unmodified lines | |||
| 46 | FFSWAP(uint8_t*, frame->data[1], frame->data[2]); | 46 | FFSWAP(uint8_t*, frame->data[1], frame->data[2]); |
| 47 | FFSWAP(int, frame->linesize[1], frame->linesize[2]); | 47 | FFSWAP(int, frame->linesize[1], frame->linesize[2]); |
| 48 | FFSWAP(AVBufferRef*, frame->buf[1], frame->buf[2]); | 48 | FFSWAP(AVBufferRef*, frame->buf[1], frame->buf[2]); |
| 49 | |||
| 50 | #if FF_API_ERROR_FRAME | ||
| 51 | FF_DISABLE_DEPRECATION_WARNINGS | ||
| 52 | FFSWAP(uint64_t, frame->error[1], frame->error[2]); | ||
| 53 | FF_ENABLE_DEPRECATION_WARNINGS | ||
| 54 | #endif | ||
| 55 | } | 49 | } |
| 56 | 50 | ||
| 57 | static AVFrame *get_video_buffer(AVFilterLink *link, int w, int h) | 51 | static AVFrame *get_video_buffer(AVFilterLink *link, int w, int h) |