Fixed codec issues on certain distros (changed call to av_register_all()).
Fixed codec issues on certain distros (changed call to av_register_all()).

siyuanwu/videoSegmentation,samuel1208/video_segment,ml-lab/video_segment,videosegmentation/video_segment,ucasqcz/video_segment,anguszxd/video_segment,CVML/video_segment,siyuanwu/videoSegmentation,yanweifu/video_segment