1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/tools
Martin Storsjö ea7f79f937 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>
2014-03-01 00:25:08 +02:00
..
aviocat.c aviocat: Add support for specifying the input duration 2014-01-17 09:32:09 +02:00
cws2fws.c tools: Include io.h for open/read/write/close if unistd.h doesn't exist 2012-08-29 00:24:07 +03:00
graph2dot.c graph2dot: Add missing #include for av_get_channel_layout_string() 2013-11-04 23:04:10 +01:00
ismindex.c ismindex: Change the duration field to int64_t 2013-10-05 00:01:28 +03:00
patcheck silly typo fixes 2013-05-03 18:26:12 +02:00
pktdumper.c tools: Wording and formatting cosmetics 2013-07-06 15:36:57 +02:00
probetest.c tools: K&R reformatting cosmetics 2012-01-25 15:31:11 +01:00
qt-faststart.c qt-faststart: Avoid unintentionally sign extending BE_32 2014-03-01 00:25:08 +02:00
trasher.c trasher: Include all the necessary headers 2012-09-13 23:12:54 +03:00