avutil/frame: Remove deprecated AVFrame.error
Deprecated in 1aa24df74c.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
committed by
James Almer
parent
0181162bb5
commit
3b56fa85e8
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user