X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Flmlm4.c;h=865cb2da901461f95a70a29bcf7e099893d21038;hb=bc900501e0e2002e40d2d0c87b5a98b913b2d1a2;hp=96007aa4723a052c05ad3364c5f4a5282a8af677;hpb=8d4e44993a87a9b230c5c87cf892dd58adcebcc4;p=ffmpeg diff --git a/libavformat/lmlm4.c b/libavformat/lmlm4.c index 96007aa4723..865cb2da901 100644 --- a/libavformat/lmlm4.c +++ b/libavformat/lmlm4.c @@ -24,6 +24,7 @@ #include "libavutil/intreadwrite.h" #include "avformat.h" +#include "internal.h" #define LMLM4_I_FRAME 0x00 #define LMLM4_P_FRAME 0x01 @@ -65,7 +66,7 @@ static int lmlm4_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_HEADERS; - av_set_pts_info(st, 64, 1001, 30000); + avpriv_set_pts_info(st, 64, 1001, 30000); if (!(st = avformat_new_stream(s, NULL))) return AVERROR(ENOMEM);