X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fyop.c;h=dac49d4dd23f05b3a4574c16fcbe3b7be56d89ff;hb=9cb6a39c461abc8d3dd79dc5a59243038664fb65;hp=8cadf125a2452e3125125895fe8c6e2e3699c731;hpb=92afb431621c79155fcb7171d26f137eb1bee028;p=ffmpeg diff --git a/libavformat/yop.c b/libavformat/yop.c index 8cadf125a24..dac49d4dd23 100644 --- a/libavformat/yop.c +++ b/libavformat/yop.c @@ -24,6 +24,7 @@ #include "libavutil/intreadwrite.h" #include "avformat.h" +#include "internal.h" typedef struct yop_dec_context { AVPacket video_packet; @@ -105,7 +106,7 @@ static int yop_read_header(AVFormatContext *s, AVFormatParameters *ap) avio_seek(pb, 2048, SEEK_SET); - av_set_pts_info(video_stream, 32, 1, frame_rate); + avpriv_set_pts_info(video_stream, 32, 1, frame_rate); return 0; }