Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 3327609

Browse files
authored
Merge pull request #690 from alexcohn/bugfix/#634_fdsan
fixing #634
2 parents 6064b7d + bd5dfc1 commit 3327609

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

android/app/src/main/cpp/saf_wrapper.c

-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ static AVIOContext *create_fd_avio_context(const char *filename, int flags) {
9191
static void close_fd_avio_context(AVIOContext *ctx) {
9292
if (fd_seek(ctx->opaque, 0, AVSEEK_SIZE) >= 0) {
9393
int fd = (int)ctx->opaque;
94-
close(fd);
9594
closeParcelFileDescriptor(fd);
9695
}
9796
ctx->opaque = NULL;

0 commit comments

Comments
 (0)