]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/tty.c
mpegtsenc: EAC3 support
[ffmpeg] / libavformat / tty.c
index 913ec457da09582decb248b45bb37a943eda9883..5c9fee79081c1226562727ea383255199fa45c9d 100644 (file)
@@ -76,7 +76,7 @@ static int read_header(AVFormatContext *avctx,
 {
     TtyDemuxContext *s = avctx->priv_data;
     int width = 0, height = 0, ret = 0;
-    AVStream *st = av_new_stream(avctx, 0);
+    AVStream *st = avformat_new_stream(avctx, NULL);
     AVRational framerate;
 
     if (!st) {