<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Hi all,<div>       To using hardware decoding, I compiled ffmpeg(0.10) with andorid libstagefright successfully. When I call it,  in the Stagefright_init(AVCodecContext *avctx), the extradata must be specified as below in the source:</div><div><br></div><div><div>static av_cold int Stagefright_init(AVCodecContext *avctx)</div><div>{</div><div>¡­¡­</div><div>¡­¡­</div><div>    if (!avctx->extradata || !avctx->extradata_size || avctx->extradata[0] != 1)</div><div>        return -1;</div></div><div>¡­¡­</div><div>}</div><div>I dont't konw how to fill the avctx->extradata, anyone can help me?</div><div><br></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>