Browse Source

avformat/webm_chunk: Specify expected argument length of get_chunk_filename()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.2
Michael Niedermayer 6 years ago
parent
commit
1a74b04737
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/webm_chunk.c

+ 1
- 1
libavformat/webm_chunk.c View File

@@ -84,7 +84,7 @@ static int chunk_mux_init(AVFormatContext *s)
return 0; 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; WebMChunkContext *wc = s->priv_data;
AVFormatContext *oc = wc->avf; AVFormatContext *oc = wc->avf;


Loading…
Cancel
Save