]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/flic.c
Bump libavformat minor version for the G.729 raw demuxer.
[ffmpeg] / libavformat / flic.c
index bcef1fd663c25e0aefd420331c76357f0791c5d4..f4c1a1b9fa0f311d9d7cebd5d29bcdee1bf5106f 100644 (file)
@@ -105,7 +105,7 @@ static int flic_read_header(AVFormatContext *s,
         speed = FLIC_DEFAULT_SPEED;
 
     /* initialize the decoder streams */
-    st = av_new_stream(s, 0);
+    st = avformat_new_stream(s, NULL);
     if (!st)
         return AVERROR(ENOMEM);
     flic->video_stream_index = st->index;
@@ -145,7 +145,7 @@ static int flic_read_header(AVFormatContext *s,
      */
     if (AV_RL16(&preamble[4]) == FLIC_TFTD_CHUNK_AUDIO) {
         /* TFTD videos have an extra 22050 Hz 8-bit mono audio stream */
-        ast = av_new_stream(s, 1);
+        ast = avformat_new_stream(s, NULL);
         if (!ast)
             return AVERROR(ENOMEM);