[PATCH] bitstream: fix incorrect if statement usage
Peter Ross <[email protected]> Thu, 17 Jan 2019 22:22:02 +1100
| Newsgroups | gmane.comp.video.xvid.devel |
|---|---|
| Message-ID | <20190117112202.GA2961@9e50050fc3fd6e12f76b5019c48d2f22> |
Patch:
[PATCH] bitstream: fix incorrect if statement usage
---
src/bitstream/bitstream.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/bitstream/bitstream.c b/src/bitstream/bitstream.c
index e5f1520..397a2a3 100644
--- a/src/bitstream/bitstream.c
+++ b/src/bitstream/bitstream.c
@@ -860,8 +860,9 @@ BitstreamReadHeaders(Bitstream * bs,
dec->shape == VIDOBJLAY_SHAPE_RECTANGULAR &&
(coding_type == P_VOP || coding_type == I_VOP)) {
- if (BitstreamGetBit(bs));
+ if (BitstreamGetBit(bs)) {
DPRINTF(XVID_DEBUG_ERROR, "RRV not supported (anymore)\n");
+ }
}
if (dec->shape != VIDOBJLAY_SHAPE_RECTANGULAR) {
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)