[FFmpeg-cvslog] lavf/webm_chunk: Print an error if no header filename was provided.

Carl Eugen Hoyos git at videolan.org
Sat Sep 3 15:32:18 EEST 2016


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Wed Aug  3 18:40:03 2016 +0200| [2dfd0f4b9eed8d1f7df22a6b2ebd06424fff444f] | committer: Carl Eugen Hoyos

lavf/webm_chunk: Print an error if no header filename was provided.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2dfd0f4b9eed8d1f7df22a6b2ebd06424fff444f
---

 libavformat/webm_chunk.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/webm_chunk.c b/libavformat/webm_chunk.c
index 44a1695..bfcde78 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);



More information about the ffmpeg-cvslog mailing list