Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
attempted to close file descriptor XX, expected to be unowned, actually owned by ParcelFileDescriptor XXX
  • Loading branch information
alexcohn committed Mar 6, 2021
1 parent 6064b7d commit bd5dfc1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion android/app/src/main/cpp/saf_wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ static AVIOContext *create_fd_avio_context(const char *filename, int flags) {
static void close_fd_avio_context(AVIOContext *ctx) {
if (fd_seek(ctx->opaque, 0, AVSEEK_SIZE) >= 0) {
int fd = (int)ctx->opaque;
close(fd);
closeParcelFileDescriptor(fd);
}
ctx->opaque = NULL;
Expand Down

0 comments on commit bd5dfc1

Please sign in to comment.