avformat/webm_chunk: always use a static buffer for get_chunk_filename
authorMarton Balint <cus@passwd.hu>
Sun, 13 May 2018 20:14:22 +0000 (22:14 +0200)
committerMarton Balint <cus@passwd.hu>
Tue, 15 May 2018 20:18:58 +0000 (22:18 +0200)
commit2dbe936bf7f9e0fe7e8f05e5c3b78fb1afbff164
tree4015b8f633fd61779177ea26ec82a5cccf893885
parent64bf915cd851ab604cb87cd463725fd1c6460a1c
avformat/webm_chunk: always use a static buffer for get_chunk_filename

My conversation from AVFormatContext->filename to AVFormatContext->url was
wrong in this case because get_chunk_filename uses filename as an output
buffer, and not as an input buffer.

Fixes ticket #7188.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/webm_chunk.c