libx264: free x4->sei

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/2/head
Michael Niedermayer 14 years ago
parent e2dae1faa8
commit d5a3635b2c
  1. 2
      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++){

Loading…
Cancel
Save