X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmpc.c;h=f377e1f9905087642dd399622f02f04e7a6215c0;hb=60fcc19bff49e0b1972eae014afc087afd94a415;hp=8027241b89adfa19dac080ed9b1cff0b50ee1753;hpb=a6186f3a0006d43950aaa5416b7e71c4b82f49f5;p=ffmpeg diff --git a/libavformat/mpc.c b/libavformat/mpc.c index 8027241b89a..f377e1f9905 100644 --- a/libavformat/mpc.c +++ b/libavformat/mpc.c @@ -84,7 +84,7 @@ static int mpc_read_header(AVFormatContext *s, AVFormatParameters *ap) c->curbits = 8; c->frames_noted = 0; - st = av_new_stream(s, 0); + st = avformat_new_stream(s, NULL); if (!st) return AVERROR(ENOMEM); st->codec->codec_type = AVMEDIA_TYPE_AUDIO;