]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/ffmetadec.c
avf: introduce nobuffer option
[ffmpeg] / libavformat / ffmetadec.c
index b2415155f1fc4731e236c0f4986f9bdb1a127657..9774e946b25f4ecb9fdaa570e15fd16fc1459282 100644 (file)
@@ -75,7 +75,7 @@ static AVChapter *read_chapter(AVFormatContext *s)
         end = AV_NOPTS_VALUE;
     }
 
-    return ff_new_chapter(s, s->nb_chapters, tb, start, end, NULL);
+    return avpriv_new_chapter(s, s->nb_chapters, tb, start, end, NULL);
 }
 
 static uint8_t *unescape(uint8_t *buf, int size)
@@ -123,7 +123,7 @@ static int read_tag(uint8_t *line, AVDictionary **m)
     return 0;
 }
 
-static int read_header(AVFormatContext *s, AVFormatParameters *ap)
+static int read_header(AVFormatContext *s)
 {
     AVDictionary **m = &s->metadata;
     uint8_t line[1024];