Fix memory leak (transcode buffer)

This commit is contained in:
Julien BLACHE 2009-07-24 08:18:53 +02:00
parent fab023085b
commit 2323fd302c

View File

@ -408,6 +408,7 @@ transcode_cleanup(struct transcode_ctx *ctx)
avcodec_close(ctx->acodec);
av_close_input_file(ctx->fmtctx);
free(ctx->abuffer);
free(ctx);
}