History

avfilter/vf_v360: do not ignore return value of allocate_plane()

Paul B Mahol committed 6 years ago

Commit ce297b41 parent 001748b1 file · +5 −2Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_v360.c+5−2
@@ -4493,8 +4493,11 @@ static int config_output(AVFilterLink *outlink) · 4492 unmodified lines
4493 s->map[1] = s->map[2] = 1;4493 s->map[1] = s->map[2] = 1;
4494 }4494 }
4495 4495
4496 for (int i = 0; i < s->nb_allocated; i++)4496 for (int i = 0; i < s->nb_allocated; i++) {
4497 allocate_plane(s, sizeof_uv, sizeof_ker, sizeof_mask * have_alpha * s->alpha, i);4497 err = allocate_plane(s, sizeof_uv, sizeof_ker, sizeof_mask * have_alpha * s->alpha, i);
4498 if (err < 0)
4499 return err;
4500 }
4498 4501
4499 calculate_rotation_matrix(s->yaw, s->pitch, s->roll, s->rot_mat, s->rotation_order);4502 calculate_rotation_matrix(s->yaw, s->pitch, s->roll, s->rot_mat, s->rotation_order);
4500 set_mirror_modifier(s->h_flip, s->v_flip, s->d_flip, s->output_mirror_modifier);4503 set_mirror_modifier(s->h_flip, s->v_flip, s->d_flip, s->output_mirror_modifier);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t