You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
mov: Fix identity matrix boolean logic
This prevented the code from correctly exporting the rotation matrix
which caused a few samples to be displayed wrong.
Introduced in ecd2ec69ce
.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
This commit is contained in:
@@ -2759,8 +2759,8 @@ static int mov_read_meta(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
||||
( (matrix)[0][0] == (1 << 16) && \
|
||||
(matrix)[1][1] == (1 << 16) && \
|
||||
(matrix)[2][2] == (1 << 30) && \
|
||||
!(matrix)[0][1] && !(matrix)[0][2] || \
|
||||
!(matrix)[1][0] && !(matrix)[1][2] || \
|
||||
!(matrix)[0][1] && !(matrix)[0][2] && \
|
||||
!(matrix)[1][0] && !(matrix)[1][2] && \
|
||||
!(matrix)[2][0] && !(matrix)[2][1])
|
||||
|
||||
static int mov_read_tkhd(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
||||
|
Reference in New Issue
Block a user