Fix warnings and off-by-one in AAC
This commit is contained in:
1 parent
93f7d90baf
commit
e8e7acb884
7 files changed
+11
-4
No files matched your search
+1
-1
@@ -13,7 +13,7 @@ extern "C" {
|
||||
# endif
|
||||
extern int stackfree();
|
||||
# ifdef __cplusplus
|
||||
};
|
||||
}
|
||||
# endif
|
||||
|
||||
/* Define to enable experimental code. */
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user