Jan Drabner <jan at ...> writes: > SwrContext* swrContext = swr_alloc_set_opts(NULL, > audioCodecContext->channel_layout, > AV_SAMPLE_FMT_S16P It is unlikely that this is correct (and it explains the segfault). Carl Eugen