Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rings:1-MinimalX
gegl
revertleap.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File revertleap.patch of Package gegl
diff -Naur gegl-0.4.48/operations/external/ff-save.c gegl-0.4.48n/operations/external/ff-save.c --- gegl-0.4.48/operations/external/ff-save.c 2024-09-16 13:16:40.708415682 +0200 +++ gegl-0.4.48n/operations/external/ff-save.c 2024-09-16 13:16:16.068494024 +0200 @@ -470,8 +470,13 @@ { float left = 0, right = 0; get_sample_data (p, i + p->audio_read_pos, &left, &right); +#if LIBAVCODEC_VERSION_MAJOR < 61 + ((int32_t*)frame->data[0])[c->channels*i+0] = left * (1<<31); + ((int32_t*)frame->data[0])[c->channels*i+1] = right * (1<<31); +#else ((int32_t*)frame->data[0])[c->ch_layout.nb_channels*i+0] = left * (1<<31); ((int32_t*)frame->data[0])[c->ch_layout.nb_channels*i+1] = right * (1<<31); +#endif } break; case AV_SAMPLE_FMT_S32P:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor