Skip to content

Commit 90a5610

Browse files
authored
Merge pull request #289 from eisneinechse/develop
Move #endif
2 parents 04d1a58 + f434b06 commit 90a5610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FFmpegReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,8 @@ void FFmpegReader::Open() {
445445
// TODO: needs va_config!
446446
#if ENABLE_VAAPI
447447
((AVVAAPIHWConfig *)hwconfig)->config_id = ((VAAPIDecodeContext *)(pCodecCtx->priv_data))->va_config;
448-
#endif
449448
constraints = av_hwdevice_get_hwframe_constraints(hw_device_ctx,hwconfig);
449+
#endif
450450
if (constraints) {
451451
if (pCodecCtx->coded_width < constraints->min_width ||
452452
pCodecCtx->coded_height < constraints->min_height ||

0 commit comments

Comments
 (0)