duzy / gst-switch

A DVswitch replacement basing on GStreamer -- record video from multiple sources in the network, and switch for showing in PiP mode
Other
11 stars 19 forks source link

Fix bugs found by the clang compiler #29

Closed mithro closed 11 years ago

mithro commented 11 years ago

export CC=clang && scan-build -v ./autogen.sh && make clean && scan-build -v -v make

Bug Group   Bug Type ▾    File    Line    Path Length         
Dead store  Dead assignment plugins /gsttcpmixsrc.c 294 1   View Report Report Bug  Open File
Dead store  Dead initialization tools /gstswitchui.c    179 1   View Report Report Bug  Open File
Dead store  Dead initialization tools /gstswitchui.c    184 1   View Report Report Bug  Open File
Logic error Dereference of null pointer plugins /gstconvbin.c   187 12  View Report Report Bug  Open File
Logic error Dereference of null pointer tools /gstaudiovisual.c 279 7   View Report Report Bug  Open File
Logic error Dereference of null pointer tools /gstswitchcontroller.c    426 4   View Report Report Bug  Open File
Logic error Dereference of null pointer tools /gstswitchserver.c    908 10  View Report Report Bug  Open File
Dead code   Idempotent operation    tools /gstcomposite.c   167 3   View Report Report Bug  Open File
Dead code   Idempotent operation    tools /gstcomposite.c   151 3   View Report Report Bug  Open File
Dead code   Idempotent operation    tools /gstcomposite.c   155 3   View Report Report Bug  Open File
Dead code   Idempotent operation    tools /gstcomposite.c   161 3   View Report Report Bug  Open File
Dead code   Idempotent operation    tools /gstcomposite.c   152 3   View Report Report Bug  Open File
Dead code   Idempotent operation    tools /gstcomposite.c   168 3   View Report Report Bug  Open File
Dead code   Idempotent operation    tools /gstcomposite.c   144 3   View Report Report Bug  Open File
Dead code   Idempotent operation    tools /gstcomposite.c   143 3   View Report Report Bug  Open File