diff options
Diffstat (limited to 'src/mot-encoder.cpp')
-rw-r--r-- | src/mot-encoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mot-encoder.cpp b/src/mot-encoder.cpp index ea1e230..bc5b736 100644 --- a/src/mot-encoder.cpp +++ b/src/mot-encoder.cpp @@ -1062,7 +1062,7 @@ void writeMotPAD(int output_fd, unsigned short int padlen) { - unsigned char pad[128]; + unsigned char pad[padlen]; int xpadlengthmask, i, j, k; unsigned short int crc; |