summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-05-14 21:49:02 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-05-14 21:49:02 +0200
commit137a3fe4d85b214816a66e9b30d20c29c628a271 (patch)
tree63afd73e5a8899224442f7af77fadecc488343cb /src
parentb633b007a5b2f4b3d61018964453264d68428f40 (diff)
downloadfdk-aac-137a3fe4d85b214816a66e9b30d20c29c628a271.tar.gz
fdk-aac-137a3fe4d85b214816a66e9b30d20c29c628a271.tar.bz2
fdk-aac-137a3fe4d85b214816a66e9b30d20c29c628a271.zip
make sure padlen is initialised
Diffstat (limited to 'src')
-rw-r--r--src/dabplus-enc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dabplus-enc.cpp b/src/dabplus-enc.cpp
index 9c00807..da837fb 100644
--- a/src/dabplus-enc.cpp
+++ b/src/dabplus-enc.cpp
@@ -230,7 +230,7 @@ int main(int argc, char *argv[])
const char* pad_fifo = "/tmp/pad.fifo";
int pad_fd;
unsigned char pad_buf[128];
- int padlen;
+ int padlen = 0;
/* Encoder status, see the above STATUS macros */
int status = 0;