Commit 4c34ed65 authored by James Almer's avatar James Almer

avformat/rmdec.c: fix brackets around arguments

Regression since 78f52b4fSigned-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 78f52b4f
...@@ -724,7 +724,7 @@ static int rm_sync(AVFormatContext *s, int64_t *timestamp, int *flags, int *stre ...@@ -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 */
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment