MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / crop_record_init

Function crop_record_init

libhb/scan.c:520–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518} crop_record_t;
519
520static crop_record_t * crop_record_init( int max_previews )
521{
522 crop_record_t *crops = calloc( 1, sizeof(*crops) );
523
524 crops->t = calloc( max_previews, sizeof(int) );
525 crops->b = calloc( max_previews, sizeof(int) );
526 crops->l = calloc( max_previews, sizeof(int) );
527 crops->r = calloc( max_previews, sizeof(int) );
528
529 return crops;
530}
531
532static void crop_record_free( crop_record_t *crops )
533{

Callers 1

DecodePreviewsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected