<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">Hi,Sorry to trouble you,<br>I want to know about speed up decoding h264,<br><br>AVCodec* codec = avcodec_find_decoder(AV_CODEC_ID_H264);<br>AVCodecContext* ctx = avcodec_alloc_context3(codec);<br>ctx->thread_count = 3;<br>ctx->pix_fmt = AV_PIX_FMT_YUV420P;<br>ctx->codec_type = AVMEDIA_TYPE_VIDEO;<br>AVDictionary * opts = NULL;<br>av_dict_set(&opts, "threads", "auto", 0);<br>ret = avcodec_open2(zh->avContext,zh->avCodec,&opts);<br><br>am I right? </div><br><br><span title="neteasefooter"><p><br/> </p></span>