History

decklink: Remove unneeded spaces in initializers

Patrick Felt committed 10 years ago

Commit e9659d11 parent e0b8cba3 files · +27 −27Browse files

Showing the changes to libavdevice/decklink_common.cpp (1 of 3 files). Show all

Unified · Split

libavdevice/decklink_common.cpp+5−5
@@ -103,7 +103,7 @@ HRESULT ff_decklink_get_display_name(IDeckLink *This, const char **displayName) · 102 unmodified lines
103103
104104 static int decklink_select_input(AVFormatContext *avctx, BMDDeckLinkConfigurationID cfg_id)
105105 {
106− struct decklink_cctx *cctx = (struct decklink_cctx *) avctx->priv_data;
106+ struct decklink_cctx *cctx = (struct decklink_cctx *)avctx->priv_data;
107107 struct decklink_ctx *ctx = (struct decklink_ctx *)cctx->ctx;
108108 BMDDeckLinkAttributeID attr_id = (cfg_id == bmdDeckLinkConfigAudioInputConnection) ? BMDDeckLinkAudioInputConnections : BMDDeckLinkVideoInputConnections;
109109 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, · 25 unmodified lines
135135 int tb_num, int tb_den,
136136 decklink_direction_t direction, int num)
137137 {
138− struct decklink_cctx *cctx = (struct decklink_cctx *) avctx->priv_data;
138+ struct decklink_cctx *cctx = (struct decklink_cctx *)avctx->priv_data;
139139 struct decklink_ctx *ctx = (struct decklink_ctx *)cctx->ctx;
140140 BMDDisplayModeSupport support;
141141 IDeckLinkDisplayModeIterator *itermode;
@@ -255,7 +255,7 @@ int ff_decklink_list_devices(AVFormatContext *avctx) · 113 unmodified lines
255255
256256 int ff_decklink_list_formats(AVFormatContext *avctx, decklink_direction_t direction)
257257 {
258− struct decklink_cctx *cctx = (struct decklink_cctx *) avctx->priv_data;
258+ struct decklink_cctx *cctx = (struct decklink_cctx *)avctx->priv_data;
259259 struct decklink_ctx *ctx = (struct decklink_ctx *)cctx->ctx;
260260 IDeckLinkDisplayModeIterator *itermode;
261261 IDeckLinkDisplayMode *mode;
@@ -305,8 +305,8 @@ int ff_decklink_list_formats(AVFormatContext *avctx, decklink_direction_t direct · 43 unmodified lines
305305
306306 void ff_decklink_cleanup(AVFormatContext *avctx)
307307 {
308− struct decklink_cctx *cctx = (struct decklink_cctx *) avctx->priv_data;
309− struct decklink_ctx *ctx = (struct decklink_ctx *) cctx->ctx;
308+ struct decklink_cctx *cctx = (struct decklink_cctx *)avctx->priv_data;
309+ struct decklink_ctx *ctx = (struct decklink_ctx *)cctx->ctx;
310310
311311 if (ctx->dli)
312312 ctx->dli->Release();

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t