View Issue Details

IDProjectCategoryView StatusLast Update
0000183JVT JM H.264/AVC reference softwaredecoderpublic2009-08-03 14:03
ReporterAnirudh Seth Assigned ToKarsten Suehring  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product VersionJM 15.0 
Fixed in VersionJM 16.0 
Summary0000183: Regarding qp_per_matrix and qp_rem_matrix
DescriptionIn streams with multiple sequence the decoder crashes after the second sps is activated as the qp_per_matrix and qp_rem_matrix contain junk.

This occurs because :-
1. On encountering a new sps activate_sps() is called
2. In activate_sps() init_frext() is called where the init_qp_process(img) is called. In this function the qp_per_matrix and the qp_rem_matrix are assigned values.
3. After returning from init_frext() the init_global_buffers() is called.
4. In this function the global_init_done = 1 so free_global_buffers() is called.
if (global_init_done)
  {
    free_global_buffers();
  }
5. In the free_global_buffers() both the qp matrices are freed by the function call free_qp_matrices();
6. Hence when we decode the next slice both the qp_per_matrix and qp_rem_matrix contain junk.
TagsNo tags attached.

Activities

Karsten Suehring

2009-08-03 14:03

administrator   ~0000325

It's fixed in JM 16.0.

Issue History

Date Modified Username Field Change
2009-08-03 12:50 Anirudh Seth New Issue
2009-08-03 14:03 Karsten Suehring Note Added: 0000325
2009-08-03 14:03 Karsten Suehring Status new => resolved
2009-08-03 14:03 Karsten Suehring Fixed in Version => JM 16.0
2009-08-03 14:03 Karsten Suehring Resolution open => fixed
2009-08-03 14:03 Karsten Suehring Assigned To => Karsten Suehring