X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fau.c;h=610880d842782497d10debd5114c17359e6dfde2;hb=dbb38bc389e1af5ed465ed370887d6af4da0cb40;hp=477bcdb67f3914fae0cfa195bb33f469b84584e2;hpb=a6186f3a0006d43950aaa5416b7e71c4b82f49f5;p=ffmpeg diff --git a/libavformat/au.c b/libavformat/au.c index 477bcdb67f3..610880d8427 100644 --- a/libavformat/au.c +++ b/libavformat/au.c @@ -35,7 +35,7 @@ /* if we don't know the size in advance */ #define AU_UNKNOWN_SIZE ((uint32_t)(~0)) -/* The ffmpeg codecs we support, and the IDs they have in the file */ +/* The libavcodec codecs we support, and the IDs they have in the file */ static const AVCodecTag codec_au_tags[] = { { CODEC_ID_PCM_MULAW, 1 }, { CODEC_ID_PCM_S8, 2 }, @@ -156,7 +156,7 @@ static int au_read_header(AVFormatContext *s, } /* now we are ready: build format streams */ - st = av_new_stream(s, 0); + st = avformat_new_stream(s, NULL); if (!st) return -1; st->codec->codec_type = AVMEDIA_TYPE_AUDIO;