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