diff options
Diffstat (limited to 'libavformat/microdvddec.c')
-rw-r--r-- | libavformat/microdvddec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/microdvddec.c b/libavformat/microdvddec.c index 95c76af..4c56a7f 100644 --- a/libavformat/microdvddec.c +++ b/libavformat/microdvddec.c @@ -54,7 +54,7 @@ static int microdvd_read_header(AVFormatContext *s, AVFormatParameters *ap) { AVRational pts_info = (AVRational){ 2997, 125 }; /* default: 23.976 fps */ MicroDVDContext *microdvd = s->priv_data; - AVStream *st = av_new_stream(s, 0); + AVStream *st = avformat_new_stream(s, NULL); int i, frame; double fps; char c; |