Improve playback of VP9 codec

This commit is contained in:
samsamsam
2019-02-02 18:41:46 +01:00
committed by Thilo Graf
parent 0435571728
commit c298f20a69
18 changed files with 306 additions and 111 deletions

View File

@@ -55,3 +55,11 @@ void FlushPipe(int pipefd)
char tmp;
while (1 == read(pipefd, &tmp, 1));
}
ssize_t WriteExt(WriteV_t _call, int fd, void *data, size_t size)
{
struct iovec iov[1];
iov[0].iov_base = data;
iov[0].iov_len = size;
return _call(fd, iov, 1);
}