avformat/rmdec.c: fix brackets around arguments

Regression since 78f52b4fe3

Signed-off-by: James Almer <jamrial@gmail.com>
pull/322/head
James Almer 6 years ago
parent 78f52b4fe3
commit 4c34ed65f6
  1. 2
      libavformat/rmdec.c

@ -724,7 +724,7 @@ static int rm_sync(AVFormatContext *s, int64_t *timestamp, int *flags, int *stre
num = avio_rb16(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;
*flags = avio_r8(pb); /* flags */
}

Loading…
Cancel
Save