mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
avformat/rmdec.c: fix brackets around arguments
Regression since 78f52b4fe3 Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
78f52b4fe3
commit
4c34ed65f6
@ -724,7 +724,7 @@ static int rm_sync(AVFormatContext *s, int64_t *timestamp, int *flags, int *stre
|
|||||||
|
|
||||||
num = avio_rb16(pb);
|
num = avio_rb16(pb);
|
||||||
*timestamp = avio_rb32(pb);
|
*timestamp = avio_rb32(pb);
|
||||||
mlti_id = avio_r8((pb) >> 1) - 1;
|
mlti_id = (avio_r8(pb) >> 1) - 1;
|
||||||
mlti_id = FFMAX(mlti_id, 0) << 16;
|
mlti_id = FFMAX(mlti_id, 0) << 16;
|
||||||
*flags = avio_r8(pb); /* flags */
|
*flags = avio_r8(pb); /* flags */
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user