fix gcc 4.7.2 build error: taking address of temporary array

may be a libav/ffmpeg bug
check a/v codec context before start a/v thread