Check before send/receive rtp header extensions.

BUG=1788
R=pbos@webrtc.org, tommi@webrtc.org, wu@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/13949004

Patch from Changbin Shao <changbin.shao@intel.com>.

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6744 4adac7df-926f-26a2-2b94-8c16560cd09d
2 files changed