<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Is anyone can help?<br><br><br><br><br><div></div><div id="divNeteaseMailCard"></div><br>At 2013-10-25 22:07:47,ahqzy <ahqzy@163.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><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></blockquote></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>