AshwanthSelvam / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

libyuv::MJPGToI420() doesn't check DecodeToCallback()'s return code #309

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In libyuv, in convert_jpeg.cc, MJPGToI420() doesn't check any of the ret return 
values from DecodeToCallback() calls, and will return success even if they fail.

Probably instead of the final "return 0;" it should be "return ret ? 0 : 1;"

Original issue reported on code.google.com by fbarch...@google.com on 28 Jan 2014 at 2:01

GoogleCodeExporter commented 9 years ago
fixed in r976

Original comment by fbarch...@google.com on 28 Jan 2014 at 3:10