avformat/webm_chunk: Specify expected argument length of get_chunk_filename()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2019-05-02 20:36:18 +02:00
parent 3b5b977c9f
commit 1a74b04737
1 changed files with 1 additions and 1 deletions

View 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;