Re: [FFmpeg-devel] [PATCH 2/2] avdevice/dshow: silence warnings about unused variable

2022-04-19 Thread James Almer
On 4/19/2022 3:05 AM, Roger Pack wrote: On Wed, Apr 13, 2022 at 10:15 AM James Almer wrote: Use av_unused instead of wrapping the declaration under the DSHOWDEBUG check in case future changes make use of it. Signed-off-by: James Almer --- libavdevice/dshow.c | 2 +- 1 file changed, 1 inse

Re: [FFmpeg-devel] [PATCH 2/2] avdevice/dshow: silence warnings about unused variable

2022-04-18 Thread Roger Pack
On Wed, Apr 13, 2022 at 10:15 AM James Almer wrote: > > Use av_unused instead of wrapping the declaration under the DSHOWDEBUG check > in case future changes make use of it. > > Signed-off-by: James Almer > --- > libavdevice/dshow.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > dif

[FFmpeg-devel] [PATCH 2/2] avdevice/dshow: silence warnings about unused variable

2022-04-13 Thread James Almer
Use av_unused instead of wrapping the declaration under the DSHOWDEBUG check in case future changes make use of it. Signed-off-by: James Almer --- libavdevice/dshow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index ac8b64366f..6