Skip to content

Commit

Permalink
adjust VmafPredictModel structure and log message indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
yigithanyigit committed Jul 5, 2024
1 parent 232614f commit b63d463
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions libvmaf/src/feature/feature_collector.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,9 @@ typedef struct {
size_t data_sz;
} VmafMetadata;

typedef struct VmafPredictModel VmafPredictModel;

typedef struct VmafPredictModel {
VmafModel *model;
VmafPredictModel *next;
struct VmafPredictModel *next;
} VmafPredictModel;

typedef struct VmafFeatureCollector {
Expand Down
6 changes: 3 additions & 3 deletions libvmaf/src/predict.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,9 @@ int vmaf_predict_score_at_index(VmafModel *model,

if (err) {
if (!propagate_metadata) {
vmaf_log(VMAF_LOG_LEVEL_ERROR,
"vmaf_predict_score_at_index(): no feature '%s' "
"at index %d\n", feature_name, index);
vmaf_log(VMAF_LOG_LEVEL_ERROR,
"vmaf_predict_score_at_index(): no feature '%s' "
"at index %d\n", feature_name, index);
}
free(feature_name);
goto free_node;
Expand Down

0 comments on commit b63d463

Please sign in to comment.