#include "libavutil/intreadwrite.h"
#include "libavutil/internal.h"
#include "avformat.h"
+#include "internal.h"
#include "rawdec.h"
static int loas_probe(AVProbeData *p)
{
AVStream *st;
- st = av_new_stream(s, 0);
+ st = avformat_new_stream(s, NULL);
if (!st)
return AVERROR(ENOMEM);
st->need_parsing = AVSTREAM_PARSE_FULL;
//LCM of all possible AAC sample rates
- av_set_pts_info(st, 64, 1, 28224000);
+ avpriv_set_pts_info(st, 64, 1, 28224000);
return 0;
}