fftools/ffplay_renderer: declare function argument as const

Declaring the function argument as const fixes a warning down the line
that the const parameter is stripped. We don't modify this argument.

Signed-off-by: Leo Izen <leo.izen@gmail.com>
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
Leo Izen 2023-11-23 09:38:19 -05:00 committed by Zhao Zhili
parent 5f87a68cf7
commit 36980179a0
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ static const char *optional_device_exts[] = {
"VK_MESA_video_decode_av1",
};
static inline int enable_debug(AVDictionary *opt)
static inline int enable_debug(const AVDictionary *opt)
{
AVDictionaryEntry *entry = av_dict_get(opt, "debug", NULL, 0);
int debug = entry && strtol(entry->value, NULL, 10);