X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fxan.c;h=662386af9a53fb2d394650cbf5445a6fc3710ef3;hb=0b7829901bc93af8407bfb832049d3d97c881c62;hp=2c565eed0d0fc2c93db4d660b883c0a0ad85bf56;hpb=dcc540db6ee0f41edd09b40d9854fb1a6509eab3;p=ffmpeg diff --git a/libavcodec/xan.c b/libavcodec/xan.c index 2c565eed0d0..662386af9a5 100644 --- a/libavcodec/xan.c +++ b/libavcodec/xan.c @@ -263,7 +263,7 @@ static inline void xan_wc3_copy_pixel_run(XanContext *s, AVFrame *frame, prevframe_x = x + motion_x; if (prev_palette_plane == palette_plane && FFABS(curframe_index - prevframe_index) < pixel_count) { - avpriv_request_sample(s->avctx, "Overlapping copy\n"); + avpriv_request_sample(s->avctx, "Overlapping copy"); return ; } @@ -644,5 +644,5 @@ AVCodec ff_xan_wc3_decoder = { .init = xan_decode_init, .close = xan_decode_end, .decode = xan_decode_frame, - .capabilities = CODEC_CAP_DR1, + .capabilities = AV_CODEC_CAP_DR1, };