Fix typing error.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user