Skip to content

Commit

Permalink
gentlstream: fix assignation instead of comparison error
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmanuelP committed Nov 12, 2024
1 parent 7cb115c commit 90a9984
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/arvgentlstream.c
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ arv_gentl_stream_create_buffers (ArvStream *stream, guint n_buffers, size_t size
arv_stream_push_buffer (stream, buffer);
}

return gc_error = GC_ERR_SUCCESS;
return gc_error == GC_ERR_SUCCESS;
}

/**
Expand Down
1 change: 0 additions & 1 deletion src/arvstream.c
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,6 @@ arv_stream_create_buffers (ArvStream *stream, unsigned int n_buffers,
}
}


return success;
}

Expand Down

0 comments on commit 90a9984

Please sign in to comment.