mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-27 09:11:17 +00:00
libx264: free x4->sei
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e2dae1faa8
commit
d5a3635b2c
@ -103,7 +103,7 @@ static int encode_nals(AVCodecContext *ctx, uint8_t *buf, int size,
|
|||||||
memcpy(p, x4->sei, x4->sei_size);
|
memcpy(p, x4->sei, x4->sei_size);
|
||||||
p += x4->sei_size;
|
p += x4->sei_size;
|
||||||
x4->sei_size = 0;
|
x4->sei_size = 0;
|
||||||
// why is x4->sei not freed?
|
av_freep(&x4->sei);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < nnal; i++){
|
for (i = 0; i < nnal; i++){
|
||||||
|
Loading…
Reference in New Issue
Block a user