aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg_hw.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2019-05-06 15:29:01 +0100
committerMark Thompson <sw@jkqxz.net>2019-06-02 22:58:22 +0100
commit1f8b36329f20ea08eafe3823b1e1b3785d74768d (patch)
treef799abab4131ace3967c93ae902d9de6fd6b9729 /fftools/ffmpeg_hw.c
parent909bcedc581aa03dd5e22ecb1d0cc3b52eba8c26 (diff)
downloadffmpeg-1f8b36329f20ea08eafe3823b1e1b3785d74768d.tar.gz
ffmpeg_hw: Mark some strings as const
Diffstat (limited to 'fftools/ffmpeg_hw.c')
-rw-r--r--fftools/ffmpeg_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg_hw.c b/fftools/ffmpeg_hw.c
index 2ec1813854..d454ae7179 100644
--- a/fftools/ffmpeg_hw.c
+++ b/fftools/ffmpeg_hw.c
@@ -99,7 +99,7 @@ int hw_device_init_from_string(const char *arg, HWDevice **dev_out)
// -> av_hwdevice_ctx_create_derived()
AVDictionary *options = NULL;
- char *type_name = NULL, *name = NULL, *device = NULL;
+ const char *type_name = NULL, *name = NULL, *device = NULL;
enum AVHWDeviceType type;
HWDevice *dev, *src;
AVBufferRef *device_ref = NULL;