summaryrefslogtreecommitdiff
path: root/libavformat/yop.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/yop.c')
-rw-r--r--libavformat/yop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/yop.c b/libavformat/yop.c
index 8cadf125a2..dac49d4dd2 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;
}