X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavdevice%2Fvfwcap.c;h=9a525ea27ad20336ff8510f33ba9d1f912623172;hb=ffa1f541b350946591ea80e134917b28a860fcad;hp=09330dea4657abd8d422dc8b8d32213f422d34a7;hpb=51bfaa21c85201ab31776a447599349a1ed6e96b;p=ffmpeg diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c index 09330dea465..9a525ea27ad 100644 --- a/libavdevice/vfwcap.c +++ b/libavdevice/vfwcap.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavformat/internal.h" #include "libavutil/log.h" #include "libavutil/opt.h" #include "libavutil/parseutils.h" @@ -399,7 +400,7 @@ static int vfw_read_header(AVFormatContext *s, AVFormatParameters *ap) av_freep(&bi); - av_set_pts_info(st, 32, 1, 1000); + avpriv_set_pts_info(st, 32, 1, 1000); ctx->mutex = CreateMutex(NULL, 0, NULL); if(!ctx->mutex) {