mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-25 15:40:02 +00:00
[PR #1664] [FEAT] Migrate detect_stream_type() from C to Rust #2370
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/1664
State: closed
Merged: No
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
This PR tries to migrate the C function
detect_stream_type()(src/lib_ccx/stream_functions.c) that handles the detection of video container to its pure Rust equivalentdetect_stream_type(ctx: &mut CcxDemuxer)(src/rust/lib_ccxr/src/util/stream_detector.rs).This migration follows Rust_migration_guide