Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2016-08-03 19:40:03 +0300
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2016-09-03 15:31:55 +0300
commit2dfd0f4b9eed8d1f7df22a6b2ebd06424fff444f (patch)
tree48348cc0089861c21eefc4110b6f68c780827113 /libavformat/webm_chunk.c
parenta6a453ccd1cd1f6c9fa5819906496736d43eabf0 (diff)
lavf/webm_chunk: Print an error if no header filename was provided.
Diffstat (limited to 'libavformat/webm_chunk.c')
-rw-r--r--libavformat/webm_chunk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/webm_chunk.c b/libavformat/webm_chunk.c
index 44a1695d5c..bfcde78e4d 100644
--- a/libavformat/webm_chunk.c
+++ b/libavformat/webm_chunk.c
@@ -92,6 +92,7 @@ static int get_chunk_filename(AVFormatContext *s, int is_header, char *filename)
}
if (is_header) {
if (!wc->header_filename) {
+ av_log(oc, AV_LOG_ERROR, "No header filename provided\n");
return AVERROR(EINVAL);
}
av_strlcpy(filename, wc->header_filename, strlen(wc->header_filename) + 1);