[vlc-devel] [vlc-commits] avcodec: support logs with AV_LOG_INFO
Rémi Denis-Courmont
remi at remlab.net
Fri Sep 8 17:17:41 CEST 2017
Le torstaina 7. syyskuuta 2017, 10.17.50 EEST Jean-Baptiste Kempf a écrit :
> vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep 7
> 12:17:08 2017 +0200| [5f614d620f71c64e1d2364d9e31205ccff93e221] |
> committer: Jean-Baptiste Kempf
>
> avcodec: support logs with AV_LOG_INFO
>
> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5f614d620f71c64e1d2
> > 364d9e31205ccff93e221
> ---
>
> modules/codec/avcodec/avcommon.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/modules/codec/avcodec/avcommon.h
> b/modules/codec/avcodec/avcommon.h index 4c917703c2..0b33023595 100644
> --- a/modules/codec/avcodec/avcommon.h
> +++ b/modules/codec/avcodec/avcommon.h
> @@ -73,6 +73,9 @@ static inline void vlc_init_avutil(vlc_object_t *obj)
> case VLC_MSG_WARN:
> level = AV_LOG_WARNING;
> break;
> + case VLC_MSG_INFO:
> + level = AV_LOG_INFO;
> + break;
This case is dead code, makes no sense.
Where verbose >= 0, verbose + 1 cannot be equal to 0.
--
雷米‧德尼-库尔蒙
https://www.remlab.net/
More information about the vlc-devel
mailing list