projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
aacdec: detect buffer overrun and return an errror.
[paraslash.git]
/
mp3dec.c
diff --git
a/mp3dec.c
b/mp3dec.c
index c02432eee8fa82ed8a1ab633afebac47fccb89df..f809daec441c1e5957c48171cdcd3eeb470977b0 100644
(file)
--- a/
mp3dec.c
+++ b/
mp3dec.c
@@
-19,8
+19,8
@@
/** \file mp3dec.c paraslash's mp3 decoder */
#include "para.h"
/** \file mp3dec.c paraslash's mp3 decoder */
#include "para.h"
-
#include "list.h"
#include "list.h"
+#include "sched.h"
#include "filter.h"
#include "error.h"
#include <mad.h>
#include "filter.h"
#include "error.h"
#include <mad.h>
@@
-98,8
+98,8
@@
next_frame:
out:
if (pmd->stream.next_frame) { /* we still have some data */
size_t off = pmd->stream.bufend - pmd->stream.next_frame;
out:
if (pmd->stream.next_frame) { /* we still have some data */
size_t off = pmd->stream.bufend - pmd->stream.next_frame;
-
PARA_DEBUG_LOG("converted %zd, rate: %u, returning %zd\n", len - off,
-
fn->fc->samplerate, copy - off);
+
//
PARA_DEBUG_LOG("converted %zd, rate: %u, returning %zd\n", len - off,
+
//
fn->fc->samplerate, copy - off);
return copy - off;
}
return copy;
return copy - off;
}
return copy;