mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-03 19:11:17 +08:00
libx264: free x4->sei
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -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++){
|
||||||
|
Reference in New Issue
Block a user