diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-07-20 16:19:07 +0530 |
---|---|---|
committer | Mark Harris <mark.hsj@gmail.com> | 2020-08-21 23:41:07 -0700 |
commit | f7e67d429feb67c42b98c6d25f271524231b3cc3 (patch) | |
tree | c589b71e20aedac87f7ee532530652368d547fe5 /celt | |
parent | 907a52315dd55811701fc6e778799e6d62f2c508 (diff) | |
download | libopus-f7e67d429feb67c42b98c6d25f271524231b3cc3.tar.gz |
repacketizer_demo: check for read errors to fix compiler warnings
Actually check for read errors instead of just storing the
return value in a variable that then never gets checked.
Also fixes "conversion from 'size_t' to 'int', possible loss
of data" compiler warnings on Windows with MSVC caused by
storing the size_t returned by fread() into an int variable.
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
Diffstat (limited to 'celt')
0 files changed, 0 insertions, 0 deletions