diff options
author | Sven Gothel <[email protected]> | 2023-02-26 23:04:42 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-02-26 23:04:42 +0100 |
commit | 98ea4a77debc15e5fd9b4188da1bf37b4872f34c (patch) | |
tree | 105c7168fa3fd315d62a1714e27a5a2a4d8465a9 /src | |
parent | 8577308dc26da61c850692137c7475a67427b98a (diff) |
FFmpeg: Fix using 'av_channel_layout_uninit', use own loaded linked 'sp_av_channel_layout_uninit'
Diffstat (limited to 'src')
-rw-r--r-- | src/jogl/native/libav/ffmpeg_impl_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/native/libav/ffmpeg_impl_template.c b/src/jogl/native/libav/ffmpeg_impl_template.c index 3e6b29d05..76addd9ad 100644 --- a/src/jogl/native/libav/ffmpeg_impl_template.c +++ b/src/jogl/native/libav/ffmpeg_impl_template.c @@ -986,7 +986,7 @@ JNIEXPORT void JNICALL FF_FUNC(setStream0) pAV->aChannels, aChannelsOut, buf1, buf2, pAV->aSampleRate, aSampleRateOut, (int)pAV->aSampleFmt, (int)aSampleFmtOut); } - av_channel_layout_uninit(&out_ch_layout); + sp_av_channel_layout_uninit(&out_ch_layout); #endif sp_av_opt_set_int(pAV->swResampleCtx, "in_sample_rate", pAV->aSampleRate, 0); sp_av_opt_set_int(pAV->swResampleCtx, "out_sample_rate", aSampleRateOut, 0); |