summaryrefslogtreecommitdiff
path: root/libavcodec/libx264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-26 18:53:12 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-26 18:53:12 +0200
commitd5a3635b2cb89c1d31b68bcb049c47c8d59e99fb (patch)
tree9522cbc693004b8d8c36803874d4821802589598 /libavcodec/libx264.c
parente2dae1faa84ada5746ac2114de7eb68abd824131 (diff)
libx264: free x4->sei
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libx264.c')
-rw-r--r--libavcodec/libx264.c2
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++){