Skip to content

Commit

Permalink
make heif_error_success const
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Oct 5, 2023
1 parent a301246 commit c679a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libheif/heif.cc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#include <cassert>


struct const heif_error heif_error_success = {heif_error_Ok, heif_suberror_Unspecified, kSuccess};
const struct heif_error heif_error_success = {heif_error_Ok, heif_suberror_Unspecified, kSuccess};
static struct heif_error error_unsupported_parameter = {heif_error_Usage_error,
heif_suberror_Unsupported_parameter,
"Unsupported encoder parameter"};
Expand Down

0 comments on commit c679a76

Please sign in to comment.