]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/dsicin.c
Bump libavformat minor version for the G.729 raw demuxer.
[ffmpeg] / libavformat / dsicin.c
index d11e285113460035d00fc3f0871ec3fd79d064a6..09e80e944f985e87ec7088ac130c544582282c8b 100644 (file)
@@ -107,7 +107,7 @@ static int cin_read_header(AVFormatContext *s, AVFormatParameters *ap)
     cin->audio_buffer_size = 0;
 
     /* initialize the video decoder stream */
-    st = av_new_stream(s, 0);
+    st = avformat_new_stream(s, NULL);
     if (!st)
         return AVERROR(ENOMEM);
 
@@ -120,7 +120,7 @@ static int cin_read_header(AVFormatContext *s, AVFormatParameters *ap)
     st->codec->height = hdr->video_frame_height;
 
     /* initialize the audio decoder stream */
-    st = av_new_stream(s, 0);
+    st = avformat_new_stream(s, NULL);
     if (!st)
         return AVERROR(ENOMEM);