X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Ffilmstripdec.c;h=24033388d857b609e2e6930754e9042951ca9ba7;hb=6e9081f4d87b4ebcd3355ebd560307c59d2104c3;hp=8aa8ee0dee63c59a04a2601680e1b843353a893f;hpb=5b602a140f3c071b67572ce5af2eb0469c5c8bed;p=ffmpeg diff --git a/libavformat/filmstripdec.c b/libavformat/filmstripdec.c index 8aa8ee0dee6..24033388d85 100644 --- a/libavformat/filmstripdec.c +++ b/libavformat/filmstripdec.c @@ -26,6 +26,7 @@ #include "libavutil/intreadwrite.h" #include "avformat.h" +#include "internal.h" #define RAND_TAG MKBETAG('R','a','n','d') @@ -67,7 +68,7 @@ static int read_header(AVFormatContext *s, st->codec->width = avio_rb16(pb); st->codec->height = avio_rb16(pb); film->leading = avio_rb16(pb); - av_set_pts_info(st, 64, 1, avio_rb16(pb)); + avpriv_set_pts_info(st, 64, 1, avio_rb16(pb)); avio_seek(pb, 0, SEEK_SET);