diff options
| author | jhurst <jhurst@cinecert.com> | 2006-11-21 23:58:00 +0000 |
|---|---|---|
| committer | jhurst <> | 2006-11-21 23:58:00 +0000 |
| commit | f0476a3789369459fb91076af4a29372d86d7622 (patch) | |
| tree | 6502d6fc94619371219d23c7522fd5ae7e6525bc /src/KM_prng.cpp | |
| parent | 9f903fec9d68fc58399a925b0311af3dc9a3faf2 (diff) | |
MPEG parser fixes: zero run-in patch, header buffer increase
Diffstat (limited to 'src/KM_prng.cpp')
| -rwxr-xr-x | src/KM_prng.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/KM_prng.cpp b/src/KM_prng.cpp index 094ee1b..e710d9a 100755 --- a/src/KM_prng.cpp +++ b/src/KM_prng.cpp @@ -135,8 +135,7 @@ public: { byte_t tmp[RNG_BLOCK_SIZE]; AES_encrypt(m_ctr_buf, tmp, &m_Context); - *(ui32_t*)(m_ctr_buf + 12) += 1; - memcpy(buf, tmp, len - gen_count); + memcpy(buf + gen_count, tmp, len - gen_count); } } }; |
