[vlc-commits] qsv: remove write-only variable
Steve Lhomme
git at videolan.org
Wed Apr 4 18:27:59 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Fri Sep 1 08:30:36 2017 +0200| [7e8513f75fd4da4001fa49763d55eccae4ab0e3b] | committer: Steve Lhomme
qsv: remove write-only variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7e8513f75fd4da4001fa49763d55eccae4ab0e3b
---
modules/codec/qsv.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/codec/qsv.c b/modules/codec/qsv.c
index 2b2528e990..1cf72412f7 100644
--- a/modules/codec/qsv.c
+++ b/modules/codec/qsv.c
@@ -263,7 +263,6 @@ static const char *const sout_options[] = {
// Frame pool for QuickSync video encoder with Intel Media SDK's format frames.
typedef struct qsv_frame_pool_t
{
- mfxFrameInfo fmt; // IntelMediaSDK format info.
mfxFrameSurface1 *frames; // An allocated array of 'size' frames.
size_t size; // The number of frame in the pool.
} qsv_frame_pool_t;
@@ -317,7 +316,6 @@ static int qsv_frame_pool_Init(qsv_frame_pool_t *pool,
return VLC_ENOMEM;
pool->size = size;
- memcpy(&pool->fmt, &request->Info, sizeof(request->Info));
for (size_t i = 0; i < size; i++) {
memcpy(&pool->frames[i].Info, &request->Info, sizeof(request->Info));
More information about the vlc-commits
mailing list