1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00

hlsenc: Fix the return value accumulation in append_single_file

Both the read_byte variable (which is accumulated into
append_single_file) and the return value are int64_t;
give the ret variable the right corresponding type too.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2024-06-20 16:31:51 +03:00
parent affc1acde7
commit 01312fdfcf

View File

@ -2380,7 +2380,7 @@ static int hls_init_file_resend(AVFormatContext *s, VariantStream *vs)
static int64_t append_single_file(AVFormatContext *s, VariantStream *vs) static int64_t append_single_file(AVFormatContext *s, VariantStream *vs)
{ {
int ret = 0; int64_t ret = 0;
int64_t read_byte = 0; int64_t read_byte = 0;
int64_t total_size = 0; int64_t total_size = 0;
char *filename = NULL; char *filename = NULL;