diff options
author | Martin Storsjö <martin@martin.st> | 2014-02-28 12:19:49 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2014-03-01 00:25:08 +0200 |
commit | ea7f79f93796d68559a495be824b6bbd94dfe5f6 (patch) | |
tree | 4d821337c64fa8e79a3887383e24fa420287a225 /doc/metadata.texi | |
parent | bb95334c34d0d9abccea370ae25c4765d7764ab8 (diff) | |
download | ffmpeg-ea7f79f93796d68559a495be824b6bbd94dfe5f6.tar.gz |
qt-faststart: Avoid unintentionally sign extending BE_32
Without this cast, the BE_32() expression is sign extended when
assigned to an uint64_t, since the uint8_t|uint8_t expression
is promoted to an int.
Also avoid undefined behaviour when left shifting an uint8_t
by 24 by casting it to an uint32_t explicitly before shifting.
Based on a patch by Michael Niedermayer.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'doc/metadata.texi')
0 files changed, 0 insertions, 0 deletions