lavf/mov: fix crash in mov_read_sidx
Use correct index into streams Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
		
							parent
							
								
									a1f8f1340a
								
							
						
					
					
						commit
						bdddcb7b03
					
				@ -4816,7 +4816,7 @@ static int mov_read_sidx(MOVContext *c, AVIOContext *pb, MOVAtom atom)
 | 
			
		||||
                MOVFragmentStreamInfo * si;
 | 
			
		||||
                si = &item->stream_info[j];
 | 
			
		||||
                if (si->sidx_pts != AV_NOPTS_VALUE) {
 | 
			
		||||
                    ref_st = c->fc->streams[i];
 | 
			
		||||
                    ref_st = c->fc->streams[j];
 | 
			
		||||
                    ref_sc = ref_st->priv_data;
 | 
			
		||||
                    break;
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user