[vlc-devel] [PATCH 0/3] Few fixes for cppcheck warnings

Boris Egorov egorov at linux.com
Fri Oct 23 11:42:22 CEST 2015


I scanned vlc with cppcheck[1]. It founds some issues. I fixed some of them and
scanned project again. You can see full report at [2]. Please note that it
contains false positives, because cppcheck doesn't know about some macros used
in project. I'll make another scan later with proper include directories for
more detailed report.

FYI, commands to create report:

    cppcheck --inconclusive --library=posix,std,gnu 2>errors.xml --xml-version=2 /path/to/vlc
    cppcheck-htmlreport  --title=vlc_high --file=errors.xml --report-dir=cppcheck_report

    1: http://cppcheck.sourceforge.net/
    2: https://drive.google.com/file/d/0B-4dcK3QuA_LSjZEUnF4R0pRSlU/view?usp=sharing

Boris Egorov (3):
  text_renderer: Fix syntax error
  egl: Fix syntax error
  ttml: Do not use deallocated pointer

 modules/codec/substtml.c           | 2 +-
 modules/text_renderer/quartztext.c | 2 +-
 modules/video_output/egl.c         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.6.1



More information about the vlc-devel mailing list