X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fipmovie.c;h=9b42ee294801e37e3b84631dce08ce4efe31e42b;hb=cd2f7ed0007f4803b6bd845366b2398abb32c355;hp=562b19a29c42ec93b5d629229aa0395360cfd9f9;hpb=259a960f1b74339626f8da890cc261a4043097fe;p=ffmpeg diff --git a/libavformat/ipmovie.c b/libavformat/ipmovie.c index 562b19a29c4..9b42ee29480 100644 --- a/libavformat/ipmovie.c +++ b/libavformat/ipmovie.c @@ -34,6 +34,7 @@ #include "libavutil/intreadwrite.h" #include "avformat.h" +#include "internal.h" #define CHUNK_PREAMBLE_SIZE 4 #define OPCODE_PREAMBLE_SIZE 4 @@ -562,7 +563,7 @@ static int ipmovie_read_header(AVFormatContext *s, st = avformat_new_stream(s, NULL); if (!st) return AVERROR(ENOMEM); - av_set_pts_info(st, 63, 1, 1000000); + avpriv_set_pts_info(st, 63, 1, 1000000); ipmovie->video_stream_index = st->index; st->codec->codec_type = AVMEDIA_TYPE_VIDEO; st->codec->codec_id = CODEC_ID_INTERPLAY_VIDEO; @@ -575,7 +576,7 @@ static int ipmovie_read_header(AVFormatContext *s, st = avformat_new_stream(s, NULL); if (!st) return AVERROR(ENOMEM); - av_set_pts_info(st, 32, 1, ipmovie->audio_sample_rate); + avpriv_set_pts_info(st, 32, 1, ipmovie->audio_sample_rate); ipmovie->audio_stream_index = st->index; st->codec->codec_type = AVMEDIA_TYPE_AUDIO; st->codec->codec_id = ipmovie->audio_type;