diff options
author | Stefan Pöschel <github@basicmaster.de> | 2015-04-12 22:19:17 +0200 |
---|---|---|
committer | Stefan Pöschel <github@basicmaster.de> | 2015-04-12 22:19:17 +0200 |
commit | 799bf0b52bb4b8f737cd50c95bc62581e06e937f (patch) | |
tree | 3536ddf229c139a4facbe5edbe1132916b43341c | |
parent | 9c36b2ab9080112b6a3cab9261f32190403b15c8 (diff) | |
download | fdk-aac-dabplus-799bf0b52bb4b8f737cd50c95bc62581e06e937f.tar.gz fdk-aac-dabplus-799bf0b52bb4b8f737cd50c95bc62581e06e937f.tar.bz2 fdk-aac-dabplus-799bf0b52bb4b8f737cd50c95bc62581e06e937f.zip |
Fix MOT encoder debug regression
-rw-r--r-- | src/mot-encoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mot-encoder.cpp b/src/mot-encoder.cpp index e53001b..cf2133e 100644 --- a/src/mot-encoder.cpp +++ b/src/mot-encoder.cpp @@ -968,7 +968,7 @@ size_t dls_get(const char* text, const uint8_t charset, const unsigned int seg_i #if DEBUG fprintf(stderr, "DL segment:"); for (int i = 0; i < seg_len; i++) - fprintf(stderr, " %02x", dls_seg[i]); + fprintf(stderr, " %02x", seg_data[i]); fprintf(stderr, "\n"); #endif return seg_len; @@ -1025,7 +1025,7 @@ void create_dls_pads(const char* text, const int padlen, const uint8_t charset) #if DEBUG fprintf(stderr, "DLS data group:"); for (int i = 0; i < padlen; i++) - fprintf(stderr, " %02x", dg[i]); + fprintf(stderr, " %02x", pad[i]); fprintf(stderr, "\n"); #endif seg_off += dg_used; |