diff options
author | Michael Niedermayer <[email protected]> | 2019-05-02 20:36:18 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2019-12-02 19:41:48 +0100 |
commit | fa0caf43c46c7ba7c02e20fdb4d2c0f9cf9cfc79 (patch) | |
tree | 57b8bc761ea53065ef1dd3f556b5946c180c71a5 | |
parent | 3fa90098a9fb2833af64bc3b65caaf65ea1e2fe2 (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 f0e3eacdf1..67db01e19e 100644 --- a/libavformat/webm_chunk.c +++ b/libavformat/webm_chunk.c @@ -82,7 +82,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; |