File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -720,7 +720,7 @@ pub unsafe fn process_hardsubx_linear_frames_and_normal_subs(
720720 let mut prev_begin_time_hard: i64 = 0 ;
721721 let mut prev_end_time_hard: i64 = 0 ;
722722 let mut prev_packet_pts_hard: i64 = 0 ;
723- let mut ret: i32 ;
723+ let mut ret: i32 = 0 ;
724724
725725 let mut subtitle_text_hard: String ;
726726 let mut prev_subtitle_text_hard: String = String :: new ( ) ;
@@ -746,7 +746,7 @@ pub unsafe fn process_hardsubx_linear_frames_and_normal_subs(
746746 break ;
747747 }
748748
749- if terminate_asap == 0 && !end_of_file && is_decoder_processed_enough ( ctx) == 0 {
749+ if terminate_asap == 0 && !end_of_file && is_decoder_processed_enough ( ctx) == 0 && ret != - 102 {
750750 position_sanity_check ( ( * ctx) . demux_ctx ) ;
751751 ret = _get_more_data ( ctx, & mut datalist, & stream_mode) ;
752752
You can’t perform that action at this time.
0 commit comments