avformat/options: log filename on open
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 2 Jun 2017 12:47:16 +0000 (14:47 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 4 Jun 2017 12:11:39 +0000 (14:11 +0200)
commit641b38c9c8a2d8d1e3b94c5d38f2e790ccad990e
treef7aa828cb5d1393dd1d7b6b3397c5b8fede64583
parent3764e3a2c528def382193e64a6d602bd5772f756
avformat/options: log filename on open

The loglevel is choosen so that the main filename and any images of
multi image sequences are shown only at debug level to avoid
clutter.

This makes exploits in playlists more visible. As they would show
accesses to private/sensitive files

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 53e0d5d7247548743e13c59c35e59fc2161e9582)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/options.c
libavformat/utils.c