aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Pöschel <github@basicmaster.de>2015-04-10 15:04:10 +0200
committerStefan Pöschel <github@basicmaster.de>2015-04-10 15:04:10 +0200
commit8a856aeeb46333864e79e9468586dba7239aed99 (patch)
tree09982e7f4c554579f6dbf8781dd86168a05c4e06 /src
parent4dae7b38f2476c25d356829fb850af005a1b5f3e (diff)
downloadfdk-aac-dabplus-8a856aeeb46333864e79e9468586dba7239aed99.tar.gz
fdk-aac-dabplus-8a856aeeb46333864e79e9468586dba7239aed99.tar.bz2
fdk-aac-dabplus-8a856aeeb46333864e79e9468586dba7239aed99.zip
Fix trailing \n removal
Diffstat (limited to 'src')
-rw-r--r--src/mot-encoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mot-encoder.cpp b/src/mot-encoder.cpp
index 1801d78..e0be054 100644
--- a/src/mot-encoder.cpp
+++ b/src/mot-encoder.cpp
@@ -894,7 +894,7 @@ void writeDLS(int output_fd, const char* dls_file, int padlen, uint8_t charset)
while ( endp > dlstext &&
(*endp == '\0' || *endp == '\n')) {
if (*endp == '\n') {
- *endp == '\0';
+ *endp = '\0';
}
endp--;
}