diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-05-02 20:36:18 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-05-25 02:05:22 +0200 |
commit | 1a74b04737f08e2e11a02ada280407889f6cadb1 (patch) | |
tree | d1e074dec02e2bd27c4d2fb97cea40734f83a455 /libavformat/webm_chunk.c | |
parent | 3b5b977c9f96e2c3803317ad75253801bc571791 (diff) | |
download | ffmpeg-1a74b04737f08e2e11a02ada280407889f6cadb1.tar.gz |
avformat/webm_chunk: Specify expected argument length of get_chunk_filename()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/webm_chunk.c')
-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 1124dab144..904bde7eb4 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; |