Fix an error which causes an acccess violation.
Fix an error which causes an acccess violation.

For 16-bit files, this was looping twice as long as necessary and reading outside the buffer.
http://code.google.com/p/webrtc/issues/detail?id=33
Review URL: http://webrtc-codereview.appspot.com/93007

git-svn-id: 9b397c5dfe384c04b1b200d5305b653241000171@279 4adac7df-926f-26a2-2b94-8c16560cd09d

lukeweber/webrtc-src-override,lukeweber/webrtc-src-override,lukeweber/webrtc-src-override,lukeweber/webrtc-src-override,lukeweber/webrtc-src-override,lukeweber/webrtc-src-override,lukeweber/webrtc-src-override