How do I pass a raw buffer into this function? I find the appropriate codec and codec context, allocate the AVFrame, and initialize the packet. When I try and set the packet's data to the buffer: AVPacket packet; av_init_packet(&packet); packet.data = buf;
where buf is the buffer received; I'm getting an error that seems to be unrelated. It says "no frame!" and returns -1. If it helps, my AVFrame is initialized with: codecFrame = avcodec_alloc_frame(); -Neil
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
