diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-09-26 18:53:12 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-26 18:53:12 +0200 |
commit | d5a3635b2cb89c1d31b68bcb049c47c8d59e99fb (patch) | |
tree | 9522cbc693004b8d8c36803874d4821802589598 | |
parent | e2dae1faa84ada5746ac2114de7eb68abd824131 (diff) | |
download | ffmpeg-d5a3635b2cb89c1d31b68bcb049c47c8d59e99fb.tar.gz |
libx264: free x4->sei
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/libx264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index a0892061b6..219944f664 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -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++){ |