|  | @@ -88,6 +88,10 @@ static int dnxhd_find_frame_end(DNXHDParserContext *dctx, | 
														
													
														
															
																|  |  | return remaining; |  |  | return remaining; | 
														
													
														
															
																|  |  | } else { |  |  | } else { | 
														
													
														
															
																|  |  | dctx->remaining -= buf_size; |  |  | dctx->remaining -= buf_size; | 
														
													
														
															
																|  |  |  |  |  | // Update variables for correctness, they are currently not used beyond here | 
														
													
														
															
																|  |  |  |  |  | state = -1; | 
														
													
														
															
																|  |  |  |  |  | dctx->cur_byte += buf_size - i; | 
														
													
														
															
																|  |  |  |  |  | break; | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
												
													
														
															
																|  | 
 |