Fixed the issue that redundant pixel(s) would be written to output file.
Fixes Issue #66.
When the bitstream was encoded with width or height aligned.
Signed-off-by: Austin Hu [email protected]
Hi @jeffreymcallister,
Please help review this PR with Issue #66 if you'd be free.
Thanks!
Sorry for the delayed reply. We have reviewed your fix and it works. One request before merging though: as you may have seen, each example has a util.h file. We want to keep util.h identical for every example. Would you prefer to copy your fixed util.h to the other examples and update the PR, or would you rather that we do it?
@jeffreymcallister, no worries. Thanks for your review! And could you help make the change to other util.h files and push more commits to this PR? Because definitely you'd have more cases to verify for code quality. Thanks!
Hi Austine, this issue is fixed and merged. Commit Id - e9990fe