update .gitignore

This commit is contained in:
2025-10-29 14:08:18 +08:00
parent 1f65ba0114
commit c50b44efe2
3 changed files with 69 additions and 66 deletions

View File

@@ -173,10 +173,6 @@ int cpcodec_close(CPCodecContext *ctx) {
ctx->codec->close(ctx);
}
if (ctx->codec && ctx->codec->close) {
ctx->codec->close(ctx);
}
ctx->is_open = false;
ctx->release_priv_storage();
ctx->codec_type = CPMediaType::Unknow;
@@ -220,4 +216,4 @@ int cpcodec_receive_frame(CPCodecContext *ctx, CPFrame *frame) {
}
return ctx->codec->receive_frame(ctx, *frame);
}
}
}