Commit d66b623a authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/nutenc: Fix writing strings larger than 2gb

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4c128ea1
......@@ -280,7 +280,7 @@ static void put_tt(NUTContext *nut, AVRational *time_base, AVIOContext *bc, uint
*/
static void put_str(AVIOContext *bc, const char *string)
{
int len = strlen(string);
size_t len = strlen(string);
ff_put_v(bc, len);
avio_write(bc, string, len);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment