Fix warnings and off-by-one in AAC

This commit is contained in:
Earle F. Philhower, III committed 2018-01-21 19:27:07 -08:00
1 parent 93f7d90baf
commit e8e7acb884
7 files changed
+11 -4

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ extern "C" {
# endif
extern int stackfree();
# ifdef __cplusplus
};
}
# endif
/* Define to enable experimental code. */
+1
View File
@@ -104,6 +104,7 @@ void mad_frame_init(struct mad_frame *frame)
*/
void mad_frame_finish(struct mad_frame *frame)
{
(void) frame;
mad_header_finish(&frame->header);
}
+1
View File
@@ -65,6 +65,7 @@ stack(__FUNCTION__, __FILE__, __LINE__);
void mad_stream_finish(struct mad_stream *stream)
{
stack(__FUNCTION__, __FILE__, __LINE__);
(void) stream;
mad_bit_finish(&stream->anc_ptr);
mad_bit_finish(&stream->ptr);