Fix AVCodecContext.request_channels deprecation.
Use av_frame_alloc() instead of deprecated avcodec_alloc_frame().