diff options
author | Luigi Yucheng LIU <luigi.liu@laposte.net> | 2014-08-26 00:29:57 +0800 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-08-27 18:37:47 +0200 |
commit | f1ed7aea4a808572e8ac5c1ea084c4e15fa04776 (patch) | |
tree | b2c0e61ac437fa5d0fffcf8103ef15edc53a7b93 /src | |
parent | 5646090398b786b11cce5e70276bdd16695eccd2 (diff) | |
download | fdk-aac-dabplus-f1ed7aea4a808572e8ac5c1ea084c4e15fa04776.tar.gz fdk-aac-dabplus-f1ed7aea4a808572e8ac5c1ea084c4e15fa04776.tar.bz2 fdk-aac-dabplus-f1ed7aea4a808572e8ac5c1ea084c4e15fa04776.zip |
Syntax error correction
Diffstat (limited to 'src')
-rw-r--r-- | src/mot-encoder.cpp | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/mot-encoder.cpp b/src/mot-encoder.cpp index e2dae36..f2c2fb7 100644 --- a/src/mot-encoder.cpp +++ b/src/mot-encoder.cpp @@ -294,22 +294,23 @@ int main(int argc, char *argv[]) md.filepath = imagepath; // if an image was transmitted before, it resumes its old file identity - it_transmission_history = transmission_history.find(pDirent->d_name); - if (it_transmission_history != transmission_history.end()) { - md.fidx = it_transmission_history->second; - } - else { - md.fidx = fidx; + it_transmission_history = transmission_history.find(pDirent->d_name); + if (it_transmission_history != transmission_history.end()) { + md.fidx = it_transmission_history->second; + } + else { + md.fidx = fidx; - // update transmission history - transmission_history[pDirent->d_name] = md.fidx; + // update transmission history + transmission_history[pDirent->d_name] = md.fidx; - if (fidx == MAXSLIDEID) { + if (fidx == MAXSLIDEID) { fidx = 0; + } else { fidx++; } - } + } slides_to_transmit.push_back(md); |