avformat/webm_chunk: Specify expected argument length of get_chunk_filename()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 2 May 2019 18:36:18 +0000 (20:36 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 25 May 2019 00:05:22 +0000 (02:05 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/webm_chunk.c

index 1124dab..904bde7 100644 (file)
@@ -84,7 +84,7 @@ static int chunk_mux_init(AVFormatContext *s)
     return 0;
 }
 
-static int get_chunk_filename(AVFormatContext *s, int is_header, char *filename)
+static int get_chunk_filename(AVFormatContext *s, int is_header, char filename[MAX_FILENAME_SIZE])
 {
     WebMChunkContext *wc = s->priv_data;
     AVFormatContext *oc = wc->avf;