ffmpeg_hw: Mark some strings as const
[ffmpeg.git] / fftools / ffmpeg.h
index eb1eaf6..7b6f802 100644 (file)
@@ -72,7 +72,7 @@ typedef struct HWAccel {
 } HWAccel;
 
 typedef struct HWDevice {
-    char *name;
+    const char *name;
     enum AVHWDeviceType type;
     AVBufferRef *device_ref;
 } HWDevice;