summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <[email protected]>2019-05-02 20:36:18 +0200
committerMichael Niedermayer <[email protected]>2019-12-02 19:41:48 +0100
commitfa0caf43c46c7ba7c02e20fdb4d2c0f9cf9cfc79 (patch)
tree57b8bc761ea53065ef1dd3f556b5946c180c71a5
parent3fa90098a9fb2833af64bc3b65caaf65ea1e2fe2 (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.c2
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;