From 1a74b04737f08e2e11a02ada280407889f6cadb1 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 2 May 2019 20:36:18 +0200 Subject: avformat/webm_chunk: Specify expected argument length of get_chunk_filename() Signed-off-by: Michael Niedermayer --- libavformat/webm_chunk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/webm_chunk.c') diff --git a/libavformat/webm_chunk.c b/libavformat/webm_chunk.c index 1124dab144..904bde7eb4 100644 --- a/libavformat/webm_chunk.c +++ b/libavformat/webm_chunk.c @@ -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; -- cgit v1.2.3