aboutsummaryrefslogtreecommitdiffstats
path: root/doc/print_options.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2014-02-28 12:19:49 +0200
committerReinhard Tartler <siretart@tauware.de>2014-03-02 11:42:37 -0500
commit9841617b7f862fcf24ad05eda865a3f323ee0dd0 (patch)
treedcf4842e4bac89bc32fcacde8471ca9bf927edad /doc/print_options.c
parent7754d4838178a5c09c3c3953bb2b90d1abc639e3 (diff)
downloadffmpeg-9841617b7f862fcf24ad05eda865a3f323ee0dd0.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> (cherry picked from commit ea7f79f93796d68559a495be824b6bbd94dfe5f6)
Diffstat (limited to 'doc/print_options.c')
0 files changed, 0 insertions, 0 deletions