aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-12-24 14:23:01 -0300
committerJames Almer <jamrial@gmail.com>2021-12-24 14:23:01 -0300
commitc147f7962c2a6634608531bdd14052e836bc860c (patch)
treec5d25628790aa0f3b1ec9b6c4e98539094e0b351 /libavdevice
parenta1c4929f65cc75b7175622a007b1e4bd37043d41 (diff)
downloadffmpeg-c147f7962c2a6634608531bdd14052e836bc860c.tar.gz
avdevice/dshow: remove unused variables
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/dshow.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 671393f468..0929ad9316 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -382,7 +382,6 @@ dshow_get_device_media_types(AVFormatContext *avctx, enum dshowDeviceType devtyp
enum dshowSourceFilterType sourcetype, IBaseFilter *device_filter,
enum AVMediaType **media_types, int *nb_media_types)
{
- struct dshow_ctx *ctx = avctx->priv_data;
IEnumPins *pins = 0;
IPin *pin;
int has_audio = 0, has_video = 0;
@@ -628,7 +627,6 @@ dshow_cycle_devices(AVFormatContext *avctx, ICreateDevEnum *devenum,
static int dshow_get_device_list(AVFormatContext *avctx, AVDeviceInfoList *device_list)
{
- struct dshow_ctx *ctx = avctx->priv_data;
ICreateDevEnum *devenum = NULL;
int r;
int ret = AVERROR(EIO);
@@ -1170,7 +1168,6 @@ dshow_cycle_pins(AVFormatContext *avctx, enum dshowDeviceType devtype,
IPin *pin;
int r;
- const GUID *mediatype[2] = { &MEDIATYPE_Video, &MEDIATYPE_Audio };
const char *devtypename = (devtype == VideoDevice) ? "video" : "audio only";
const char *sourcetypename = (sourcetype == VideoSourceDevice) ? "video" : "audio";