summaryrefslogtreecommitdiff
path: root/libavdevice/decklink_common.cpp
diff options
context:
space:
mode:
authorPatrick Felt <patrick.felt@echostar.com>2016-08-02 22:46:28 -0700
committerTimothy Gu <timothygu99@gmail.com>2016-08-02 22:46:28 -0700
commite9659d1a0b77c65be114fe5cd4228cac3356f6eb (patch)
treef6f459e28de311a5f0921da6616ce8f6b88573a1 /libavdevice/decklink_common.cpp
parente0b8cba0580e8a1ccf02f4c6c9bc1f448eec1ac8 (diff)
downloadffmpeg-e9659d1a0b77c65be114fe5cd4228cac3356f6eb.tar.gz
decklink: Remove unneeded spaces in initializers
Diffstat (limited to 'libavdevice/decklink_common.cpp')
-rw-r--r--libavdevice/decklink_common.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavdevice/decklink_common.cpp b/libavdevice/decklink_common.cpp
index b0f245fedb..53004b372f 100644
--- a/libavdevice/decklink_common.cpp
+++ b/libavdevice/decklink_common.cpp
@@ -103,7 +103,7 @@ HRESULT ff_decklink_get_display_name(IDeckLink *This, const char **displayName)
static int decklink_select_input(AVFormatContext *avctx, BMDDeckLinkConfigurationID cfg_id)
{
- struct decklink_cctx *cctx = (struct decklink_cctx *) avctx->priv_data;
+ struct decklink_cctx *cctx = (struct decklink_cctx *)avctx->priv_data;
struct decklink_ctx *ctx = (struct decklink_ctx *)cctx->ctx;
BMDDeckLinkAttributeID attr_id = (cfg_id == bmdDeckLinkConfigAudioInputConnection) ? BMDDeckLinkAudioInputConnections : BMDDeckLinkVideoInputConnections;
int64_t bmd_input = (cfg_id == bmdDeckLinkConfigAudioInputConnection) ? (int64_t)ctx->audio_input : (int64_t)ctx->video_input;
@@ -135,7 +135,7 @@ int ff_decklink_set_format(AVFormatContext *avctx,
int tb_num, int tb_den,
decklink_direction_t direction, int num)
{
- struct decklink_cctx *cctx = (struct decklink_cctx *) avctx->priv_data;
+ struct decklink_cctx *cctx = (struct decklink_cctx *)avctx->priv_data;
struct decklink_ctx *ctx = (struct decklink_ctx *)cctx->ctx;
BMDDisplayModeSupport support;
IDeckLinkDisplayModeIterator *itermode;
@@ -255,7 +255,7 @@ int ff_decklink_list_devices(AVFormatContext *avctx)
int ff_decklink_list_formats(AVFormatContext *avctx, decklink_direction_t direction)
{
- struct decklink_cctx *cctx = (struct decklink_cctx *) avctx->priv_data;
+ struct decklink_cctx *cctx = (struct decklink_cctx *)avctx->priv_data;
struct decklink_ctx *ctx = (struct decklink_ctx *)cctx->ctx;
IDeckLinkDisplayModeIterator *itermode;
IDeckLinkDisplayMode *mode;
@@ -305,8 +305,8 @@ int ff_decklink_list_formats(AVFormatContext *avctx, decklink_direction_t direct
void ff_decklink_cleanup(AVFormatContext *avctx)
{
- struct decklink_cctx *cctx = (struct decklink_cctx *) avctx->priv_data;
- struct decklink_ctx *ctx = (struct decklink_ctx *) cctx->ctx;
+ struct decklink_cctx *cctx = (struct decklink_cctx *)avctx->priv_data;
+ struct decklink_ctx *ctx = (struct decklink_ctx *)cctx->ctx;
if (ctx->dli)
ctx->dli->Release();