Re: [libav-devel] [PATCH 1/6] libavutil: add support for AV_HWDEVICE_TYPE_D3D11VA

2017-01-10 Thread wm4
On Tue, 10 Jan 2017 12:11:50 +0100 Steve Lhomme wrote: > >> +if (SUCCEEDED(hr)) { > >> +int adapter = atoi(device); > > > > Still not liking the atoi() call... (because undefined behavior if > > device is not actually a number) > > If the

Re: [libav-devel] [PATCH 1/6] libavutil: add support for AV_HWDEVICE_TYPE_D3D11VA

2017-01-10 Thread Steve Lhomme
On Mon, Jan 9, 2017 at 11:51 AM, wm4 wrote: > On Tue, 3 Jan 2017 17:34:59 +0100 > Steve Lhomme wrote: > >> From: Steve Lhomme >> >> --- >> doc/APIchanges | 3 + >> libavutil/Makefile | 3 + >>

Re: [libav-devel] [PATCH 1/6] libavutil: add support for AV_HWDEVICE_TYPE_D3D11VA

2017-01-09 Thread wm4
On Tue, 3 Jan 2017 17:34:59 +0100 Steve Lhomme wrote: > From: Steve Lhomme > > --- > doc/APIchanges | 3 + > libavutil/Makefile | 3 + > libavutil/hwcontext.c | 3 + > libavutil/hwcontext.h | 1 + >

[libav-devel] [PATCH 1/6] libavutil: add support for AV_HWDEVICE_TYPE_D3D11VA

2017-01-03 Thread Steve Lhomme
From: Steve Lhomme --- doc/APIchanges | 3 + libavutil/Makefile | 3 + libavutil/hwcontext.c | 3 + libavutil/hwcontext.h | 1 + libavutil/hwcontext_d3d11va.c | 460 +