You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return heif_error{heif_error_Usage_error, heif_suberror_Null_pointer_argument, "heif_writer callback returned a null error text"};
2666
+
// It is now allowed to return a NULL error message on success. It will be replaced by "Success". An error message is still required when there is an error.
2667
+
if (writer_error.code == heif_error_Ok) {
2668
+
writer_error.message = Error::kSuccess;
2669
+
return writer_error;
2670
+
}
2671
+
else {
2672
+
return heif_error{heif_error_Usage_error, heif_suberror_Null_pointer_argument, "heif_writer callback returned a null error text"};
0 commit comments