X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fiv8.c;h=fa77f824716f494b3a258081f7dfc6a3933ec06f;hb=b5a69e79c579e6e15e2019ffd34ef0e09aeab586;hp=1db4c0325abb3d552d4d15eda2326eb1f051c4bc;hpb=5c15b78e4a47c46de03d5e7291ed19a717f36885;p=ffmpeg diff --git a/libavformat/iv8.c b/libavformat/iv8.c index 1db4c0325ab..fa77f824716 100644 --- a/libavformat/iv8.c +++ b/libavformat/iv8.c @@ -19,11 +19,12 @@ */ #include "avformat.h" +#include "internal.h" static int probe(AVProbeData *p) { - // the single file i have starts with that, i dont know if others do too + // the single file I have starts with that, I do not know if others do, too if( p->buf[0] == 1 && p->buf[1] == 1 && p->buf[2] == 3 @@ -47,7 +48,7 @@ static int read_header(AVFormatContext *s, AVFormatParameters *ap) st->codec->codec_type = AVMEDIA_TYPE_VIDEO; st->codec->codec_id = CODEC_ID_MPEG4; st->need_parsing = AVSTREAM_PARSE_FULL; - av_set_pts_info(st, 64, 1, 90000); + avpriv_set_pts_info(st, 64, 1, 90000); return 0;