View Issue Details

IDProjectCategoryView StatusLast Update
0000330JVT JM H.264/AVC reference softwareencoder and decoderpublic2015-06-16 14:08
ReporterAndy (Xing) Fu Assigned ToKarsten Suehring  
PrioritylowSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
PlatformN/AOSAnyOS VersionN/A
Product VersionJM 18.5 
Fixed in VersionJM 19.0 
Summary0000330: use of >, >=, <, <= with profile_idc
DescriptionH.264 profile_idc is not a monotonically increasing value, rather it is an enumeration.

use of >, >=, <, <= with profile_idc is NOT recommended.

In JM 18.5, use of >, >=, <, <= with profile_idc:
lines 271 and 272 in ldecod/inc/defines.h
lines 1091 and 1095 in ldecod/inc/global.h
lines 1609 in lencod/inc/global.h
line 1847 in ldecod/src/mbuffer.c
line 597 in ldecod/src/parset.c
Steps To ReproduceN/A, just read the code
TagsNo tags attached.

Activities

Karsten Suehring

2013-09-02 21:38

administrator   ~0000595

I mostly agree with that. Future profiles may have different feature sets and thus be incompatible.

Can you provide a patch?

Karsten Suehring

2015-06-16 14:08

administrator   ~0000633

Fixed in the current development version (except for one MV-profile occurrence, which probably needs more work anyway)

Issue History

Date Modified Username Field Change
2013-08-13 15:39 Andy (Xing) Fu New Issue
2013-09-02 21:38 Karsten Suehring Note Added: 0000595
2013-09-02 21:38 Karsten Suehring Assigned To => Karsten Suehring
2013-09-02 21:38 Karsten Suehring Status new => acknowledged
2015-06-16 14:08 Karsten Suehring Note Added: 0000633
2015-06-16 14:08 Karsten Suehring Status acknowledged => resolved
2015-06-16 14:08 Karsten Suehring Fixed in Version => JM 19.0
2015-06-16 14:08 Karsten Suehring Resolution open => fixed