diff options
author | Michael Niedermayer <[email protected]> | 2019-05-02 20:36:18 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2019-11-14 23:30:37 +0100 |
commit | e1ceb17ee357bc5cd31843793c0d1a0a3c030199 (patch) | |
tree | 171ba7b21e2efeea3009248b6c0b42635ae03d53 | |
parent | abb7d3f1d00aad2f2c7923b59f847064f7017e06 (diff) |
avformat/webm_chunk: Specify expected argument length of get_chunk_filename()
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit 1a74b04737f08e2e11a02ada280407889f6cadb1)
Signed-off-by: Michael Niedermayer <[email protected]>
-rw-r--r-- | libavformat/webm_chunk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/webm_chunk.c b/libavformat/webm_chunk.c index dd49afdb9e..191a30e64f 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; |