Commit d5a3635b authored by Michael Niedermayer's avatar Michael Niedermayer

libx264: free x4->sei

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e2dae1fa
......@@ -103,7 +103,7 @@ static int encode_nals(AVCodecContext *ctx, uint8_t *buf, int size,
memcpy(p, x4->sei, x4->sei_size);
p += x4->sei_size;
x4->sei_size = 0;
// why is x4->sei not freed?
av_freep(&x4->sei);
}
for (i = 0; i < nnal; i++){
......
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