You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/nutenc: Fix writing strings larger than 2gb
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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)
|
static void put_str(AVIOContext *bc, const char *string)
|
||||||
{
|
{
|
||||||
int len = strlen(string);
|
size_t len = strlen(string);
|
||||||
|
|
||||||
ff_put_v(bc, len);
|
ff_put_v(bc, len);
|
||||||
avio_write(bc, string, len);
|
avio_write(bc, string, len);
|
||||||
|
Reference in New Issue
Block a user