diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-05-02 20:36:18 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-11 20:18:45 +0100 |
commit | 561f28b2cd0f79db68e8ea830f6b37ed81a0e54e (patch) | |
tree | 3f3a33f8e91a7609383600b617513560c88a0f3d | |
parent | fc3faa6afec81a5595948d690fc9b80a541c2324 (diff) | |
download | ffmpeg-561f28b2cd0f79db68e8ea830f6b37ed81a0e54e.tar.gz |
avformat/webm_chunk: Specify expected argument length of get_chunk_filename()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 1a74b04737f08e2e11a02ada280407889f6cadb1)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-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 a11036634c..5590e1d5bb 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; |