X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavdevice%2Fx11grab.c;h=dccbb278a36c75f29a7d6bb03b5f9b6bb8c33b24;hb=a40f6a5c698e314ab8c2770c1230ae0d0bd23a33;hp=2ecf88c2d5c08badd6581f88c46d53dd02b74a97;hpb=8709ba907a7f6f44e392161221d9628fa74b22f6;p=ffmpeg diff --git a/libavdevice/x11grab.c b/libavdevice/x11grab.c index 2ecf88c2d5c..dccbb278a36 100644 --- a/libavdevice/x11grab.c +++ b/libavdevice/x11grab.c @@ -31,11 +31,13 @@ /** * @file - * X11 frame device demuxer by Clemens Fruhwirth - * and Edouard Gomez . + * X11 frame device demuxer + * @author Clemens Fruhwirth + * @author Edouard Gomez */ #include "config.h" +#include "libavformat/internal.h" #include "libavutil/log.h" #include "libavutil/opt.h" #include "libavutil/parseutils.h" @@ -199,7 +201,7 @@ x11grab_read_header(AVFormatContext *s1, AVFormatParameters *ap) ret = AVERROR(ENOMEM); goto out; } - av_set_pts_info(st, 64, 1, 1000000); /* 64 bits pts in us */ + avpriv_set_pts_info(st, 64, 1, 1000000); /* 64 bits pts in us */ screen = DefaultScreen(dpy);