The problem is with init function of decoder, its declaration is as follow,

*int qhw_decode_init (AVCodecContext *avctx);*

am getting avctx->width as zero (0) and avctx->heigth as zero(0).

So I initialize my decoder with constant values, as decoder->width=1920 and
decoder->height=1080. After that I am getting following error,

*Assertion avctx->internal->buffer_frame->buf[0] failed at
libavcodec/utils.c:2772*

Please help.



--
View this message in context: 
http://libav-users.943685.n4.nabble.com/Libav-user-Failed-to-open-codec-in-av-find-stream-info-tp4662352p4662353.html
Sent from the libav-users mailing list archive at Nabble.com.
_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to