mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
avformat/webm_chunk: Specify expected argument length of get_chunk_filename()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
3b5b977c9f
commit
1a74b04737
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user