Fix typing error.

This commit is contained in:
Frédéric Tronel
2026-08-29 14:25:11 +02:00
parent b241c45efc
commit 3769244bdb
+1 -1
View File
@@ -38,7 +38,7 @@ def dump_codec_private_data(avc_decoder_configuration: AVCDecoderConfiguration)
return res
@typechecked
def get_codec_private_data_from_h264(input_file: IO[bytes]) -> AVCDecoderConfiguration:
def get_codec_private_data_from_h264(input_file: IO[bytes]) -> bytearray | None:
avcconfig = get_avc_config_from_h264(input_file)
res = dump_codec_private_data(avcconfig)