avformat/mxfdec: check if source_package is NULL
Fixes ticket #5554. Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se> Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
		
							parent
							
								
									7a2a8b541a
								
							
						
					
					
						commit
						4bee44007a
					
				| @ -1914,7 +1914,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf) | ||||
|                 break; | ||||
|             } | ||||
|         } | ||||
|         if (!source_track || !component) | ||||
|         if (!source_track || !component || !source_package) | ||||
|             continue; | ||||
| 
 | ||||
|         if (!(source_track->sequence = mxf_resolve_strong_ref(mxf, &source_track->sequence_ref, Sequence))) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user