anybody can help?




发自我的iPhone


在2013-11-24(tel:2013-11-24) 17:05:04.4,[email protected]写到:


Hi all,  
       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:

static av_cold int Stagefright_init(AVCodecContext *avctx)  
{
……
……
    if (!avctx->extradata || !avctx->extradata_size || avctx->extradata[0] != 1)
        return -1;

……
}
I dont't konw how to fill the avctx->extradata, anyone can help me?





_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to