Fix ARM64 build: c_char initialization (#1756)

This commit is contained in:
Chandragupt Singh
2025-10-22 12:44:34 +05:30
committed by GitHub
parent ebd8252b88
commit da03c1ec9d
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
1.0 (to be released)
-----------------
- Fix: ARM64/aarch64 build failure due to c_char type mismatch in nal.rs
- Fix: HardSubX OCR on Rust
- Removed the Share Module
- Fix: Regression failures on DVD files

View File

@@ -596,7 +596,7 @@ pub unsafe fn slice_header(
pic_order_cnt_lsb, (*dec_ctx.timing).current_tref,
current_index, (*dec_ctx.avc_ctx).currref, (*dec_ctx.avc_ctx).lastmaxidx, (*dec_ctx.avc_ctx).maxtref);
let mut buf = [c_char::from(0i8); 64];
let mut buf = [0 as c_char; 64];
debug!(
msg_type = DebugMessageFlag::TIME;
" sync_pts:{} ({:8})",