Skip to content

access_output/srt: fix signedness warning

Romain Vimont requested to merge rom1v/vlc:fix_warning into master

Fix comparison of integer expressions of different signedness (size_t vs int). Since the result is assigned to an int (chunk_size), explicitly convert size_t to int.

Also move the call to block_BytestreamRemaining() out of the __MIN() macro, to avoid evaluating it twice.

Merge request reports