*/
#include "avformat.h"
#include "riff.h"
+#include "internal.h"
#include "libavcodec/get_bits.h"
#define CHUNK_SIZE 512
return AVPROBE_SCORE_MAX;
}
-static int read_header(AVFormatContext *s,
- AVFormatParameters *ap)
+static int read_header(AVFormatContext *s)
{
ACTContext* ctx = s->priv_data;
AVIOContext *pb = s->pb;
st->codec->frame_size=80;
st->codec->channels=1;
- av_set_pts_info(st, 64, 1, 100);
+ avpriv_set_pts_info(st, 64, 1, 100);
st->codec->codec_id=CODEC_ID_G729;