help wantedquestion
Repository metrics
- Stars
- (6,985 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
`
private AVFormatContext openInput(ByteBuffer buf) throws IOException {
avfmtCtx = new AVFormatContext(null);
BytePointer filePointer = new BytePointer(buf);
int r = avformat.avformat_open_input(avfmtCtx, filePointer, null, null);
filePointer.deallocate();
if (r < 0) {
avfmtCtx.close();
throw new IOException("avformat_open_input error: " + r);
}
return avfmtCtx;
}
`
I gave encoded bytebuffer as parameter. And got "avformat_open_input error: -1094995529"