Re: [FFmpeg-devel] [PATCH] fftools/ffplay_renderer: declare function argument as const

2023-11-27 Thread Zhao Zhili
> 在 2023年11月23日,下午10:38,Leo Izen 写道: > > 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 > --- > fftools/ffplay_renderer.c | 2 +- > 1 file changed, 1 insertion(+), 1 delet

[FFmpeg-devel] [PATCH] fftools/ffplay_renderer: declare function argument as const

2023-11-23 Thread Leo Izen
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 --- fftools/ffplay_renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffplay_renderer.c b/fftool