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:
parent
affc1acde7
commit
01312fdfcf
1 changed files with 1 additions and 1 deletions
|
|
@ -2380,7 +2380,7 @@ static int hls_init_file_resend(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 total_size = 0;
|
||||
char *filename = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue