摘要:
You must set some additional settings forAVCodecContextbefore you callavcodec_open2.I usually set these required settings (variables beginning with 'k' mean predefined constatns):avCtx->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL;avCtx->codec_type = AVMEDIA_TYPE_AUDIO;avCtx-> 阅读全文