mirror of
https://github.com/xiph/opus.git
synced 2025-06-01 08:07:41 +00:00
![]() Silence a gcc warning by checking the return value of the fread() call instead of the feof() guard. This prevents an infinite loop in the case of a read error. Otherwise, when end-of-file is reached fread() will certainly return a smaller number of elements read than requested, so both cases are handled now. Add a comment to clarify that we're dropping a partial frame on purpose to keep the code simple. Also add more braces around conditional bodies for less error-prone style. Signed-off-by: Mark Harris <mark.hsj@gmail.com> |
||
---|---|---|
.. | ||
build_draft.sh | ||
build_isobmff.sh | ||
build_oggdraft.sh | ||
customdoxygen.css | ||
Doxyfile.in | ||
draft-ietf-codec-oggopus.xml | ||
draft-ietf-codec-opus-update.xml | ||
draft-ietf-codec-opus.xml | ||
draft-ietf-payload-rtp-opus.xml | ||
footer.html | ||
header.html | ||
Makefile.am | ||
opus_in_isobmff.css | ||
opus_in_isobmff.html | ||
opus_logo.svg | ||
opus_update.patch | ||
release.txt | ||
trivial_example.c |