mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
While here add the ISO/IEC and ITU licenses and fix a compiler warning regarding a mis-compiled comparison (!a == b) --> (!(a == b)) to not compare !a with b (while !(a == b) was clearly intended).
11 lines
395 B
C
11 lines
395 B
C
--- lencod/src/rdopt.c.orig 2020-09-29 10:35:54 UTC
|
|
+++ lencod/src/rdopt.c
|
|
@@ -834,7 +834,7 @@ distblk rdcost_for_8x8blocks (Macroblock *currMB, // -
|
|
}
|
|
|
|
//----- coded block pattern (for CABAC only) -----
|
|
- if (!currSlice->symbol_mode == CAVLC)
|
|
+ if (!(currSlice->symbol_mode == CAVLC))
|
|
{
|
|
dataPart = &(currSlice->partArr[partMap[SE_CBP]]);
|
|
eep_dp = &(dataPart->ee_cabac);
|