summaryrefslogtreecommitdiffstats
path: root/libavformat/microdvddec.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-11-05 13:11:18 +0100
committerClément Bœsch <ubitux@gmail.com>2011-11-05 15:07:19 +0100
commit0e5ecd806eadf7dd0ec645b1b69310ee76c0cd1c (patch)
treeaa4774ed8070f10d86a16ec814cd39deda0ad8a1 /libavformat/microdvddec.c
parent454f1657288e75a9797381c8a26598674ea9bd68 (diff)
downloadffmpeg-streaming-0e5ecd806eadf7dd0ec645b1b69310ee76c0cd1c.zip
ffmpeg-streaming-0e5ecd806eadf7dd0ec645b1b69310ee76c0cd1c.tar.gz
Replace remaining av_new_stream() with avformat_new_stream().
Diffstat (limited to 'libavformat/microdvddec.c')
-rw-r--r--libavformat/microdvddec.c2
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;
OpenPOWER on IntegriCloud