Maria1099 / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

vpx_codec_decode returns VPX_CODEC_INVALID_PARAM when passed NULL data with size 0. #524

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected behavior? What do you see instead?
I would assume VPX_CODEC_INVALID_PARAM woudl not be returned as the function 
comment says "When no more data is available, this function should be called 
with NULL as data and 0 as data_sz."

What version are you using? On what operating system?
Linux.

In vp8_peek_si() the check "if(data + data_sz <= data)" returns 
VPX_CODEC_INVALID_PARAM.

Original issue reported on code.google.com by fgalli...@google.com on 8 Jan 2013 at 5:47

GoogleCodeExporter commented 9 years ago

Original comment by fgalli...@google.com on 17 Jan 2013 at 11:35