add traces
fix null pointer
Merge remote-tracking branch 'origin/shvc4.0_ffmpeg' into shvc4.0