View Issue Details

IDProjectCategoryView StatusLast Update
0000358JVT JM H.264/AVC reference softwaredecoderpublic2016-03-09 14:54
ReporterP.V. Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformPCOSLinuxOS VersionUbuntu
Product VersionJM 18.6 
Summary0000358: leading_zero_8bits error incorrectly reported, decoder stops
DescriptionHi,

The following message is incorrectly displayed and the decoder stops:
GetAnnexbNALU: The leading_zero_8bits syntax can only be present in the first byte stream NAL unit, return -1
Error while getting the NALU in file format Annex B, exit

Since version JM 16.0 there is not initialized variable
'IsFirstByteStreamNALU' in the file ldecod/src/annexb.c
There is variable initialization in function init_annex_b:
void init_annex_b(ANNEXB_t *annex_b)
{
.......
  annex_b->IsFirstByteStreamNALU = 1;
.......
}
however this function is never used.

Decoding of input file which has any number of leading_zero_8bits before NAL unit start indicator (0x00000001) ends with error.

Best Regards,
Pavel
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2016-03-09 14:51 P.V. New Issue
2016-03-09 14:54 P.V. Description Updated
2016-03-09 14:54 P.V. Steps to Reproduce Updated