[FFmpeg-devel] Patch to enable QSV acceleration under linux platform

Michael Niedermayer michaelni at gmx.at
Tue Jun 30 23:24:21 CEST 2015


On Tue, Jun 30, 2015 at 10:51:00PM +0200, wm4 wrote:
> On Tue, 30 Jun 2015 16:42:56 +0200
> Michael Niedermayer <michaelni at gmx.at> wrote:
> 
> 
> > > +#ifdef AVCODEC_QSV_LINUX_SESSION_HANDLE
> > > +#include <stdio.h>
> > > +#include <string.h>
> > 
> > > +#include <unistd.h>
> > 
> > needs HAVE_UNISTD_H check if its needed
> 
> There are Linux systems without unistd.h?

probably but i suggested it more for consistency as we check
HAVE_UNISTD_H elsewheer before including the header

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150630/0b62c5c1/attachment.asc>


More information about the ffmpeg-devel mailing list