#include #include #include "compat.h" INLINE void fix_frame_channel_layout(AVFrame *frame) { if (frame->channel_layout) return; frame->channel_layout = av_get_default_channel_layout(frame->channels); }