[x264-devel] Is it a bug when writing flv file

tony sun luckytonysun at gmail.com
Thu Aug 16 22:55:31 CEST 2012


Hi Guys,

Thank for your work.
I downloaded x264-snapshot-20120801-2245 and use it under VC2008.
I am trying to encode motion-JEPG and save to flv file. I copyed some
code from output directroy, such as flv.c, flv_bytestream.c,
flv_bytestream.h etc.

Everything is fine except a memory leak.
in file

flv_bytestream.c, function
int flv_append_data()
{
...
dp = realloc( c->data, dn );
...
}

Any place to free this memory? or It is released in other place.

Regards.

Tony


More information about the x264-devel mailing list