File tree 1 file changed +2
-2
lines changed
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(
720
720
let mut prev_begin_time_hard: i64 = 0 ;
721
721
let mut prev_end_time_hard: i64 = 0 ;
722
722
let mut prev_packet_pts_hard: i64 = 0 ;
723
- let mut ret: i32 ;
723
+ let mut ret: i32 = 0 ;
724
724
725
725
let mut subtitle_text_hard: String ;
726
726
let mut prev_subtitle_text_hard: String = String :: new ( ) ;
@@ -746,7 +746,7 @@ pub unsafe fn process_hardsubx_linear_frames_and_normal_subs(
746
746
break ;
747
747
}
748
748
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 {
750
750
position_sanity_check ( ( * ctx) . demux_ctx ) ;
751
751
ret = _get_more_data ( ctx, & mut datalist, & stream_mode) ;
752
752
You can’t perform that action at this time.
0 commit comments