]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/thp.c
lavc: use avpriv_ prefix for some mpeg4audio symbols used in lavf.
[ffmpeg] / libavformat / thp.c
index 39419776886e2abe745f2469e317cc2dc01c0899..29312b4f7850851aaf0afe171774ff45b9c690e7 100644 (file)
@@ -94,7 +94,7 @@ static int thp_read_header(AVFormatContext *s,
                 break;
 
             /* Video component.  */
-            st = av_new_stream(s, 0);
+            st = avformat_new_stream(s, NULL);
             if (!st)
                 return AVERROR(ENOMEM);
 
@@ -117,7 +117,7 @@ static int thp_read_header(AVFormatContext *s,
                 break;
 
             /* Audio component.  */
-            st = av_new_stream(s, 0);
+            st = avformat_new_stream(s, NULL);
             if (!st)
                 return AVERROR(ENOMEM);