opus/doc
Ralph Giles fefcad3797
trivial_example: Check the return value of fread().
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>
2020-06-01 00:48:49 -07:00
..
build_draft.sh Fix the draft build. 2012-11-12 13:09:30 -08:00
build_isobmff.sh Add build script for mp4 spec. 2014-09-29 10:53:17 -07:00
build_oggdraft.sh Update the oggopus script to use xml2rfc v2. 2012-12-18 16:37:04 -08:00
customdoxygen.css There are no tabs in source code. 2014-10-03 21:49:57 -07:00
Doxyfile.in Make use of dot optional in generating documentation. 2016-10-27 10:53:27 -07:00
draft-ietf-codec-oggopus.xml oggopus: Update version and date for -14 2016-02-22 18:22:08 -08:00
draft-ietf-codec-opus-update.xml update draft version -10 2017-09-19 14:29:54 -04:00
draft-ietf-codec-opus.xml Fix common misspellings 2012-09-27 09:16:30 -04:00
draft-ietf-payload-rtp-opus.xml rtp draft -11 2015-04-21 20:33:42 -04:00
footer.html Remove generation date from docs. 2016-02-03 12:32:00 -08:00
header.html Pretty up the HTML doxygen output. 2012-06-11 01:42:32 -04:00
Makefile.am Clean doxygen_sqlite3.db 2016-05-18 21:20:35 +01:00
opus_in_isobmff.css Update mp4 encapsulation spec to v0.5.3. 2014-10-07 16:05:07 -07:00
opus_in_isobmff.html Update ISO Base Media Format draft to version 0.8.1. 2018-09-12 18:47:23 -07:00
opus_logo.svg There are no tabs in source code. 2014-10-03 21:49:57 -07:00
opus_update.patch Update draft: addressing WGLC comments 2016-12-19 14:48:35 -05:00
release.txt Repository moved to gitlab.xiph.org 2020-05-10 15:42:59 -07:00
trivial_example.c trivial_example: Check the return value of fread(). 2020-06-01 00:48:49 -07:00