On line 3376 we set: id = FOURCC_YUY2; so the following switch block is itself useless, follows only one path. I have removed that switch block in attached patch, eventually the previous assignement to id is the error and had to be fixed there, otherwise that part of code was to long unchanged in git.
Created attachment 11008 [details] [review] dead code removal
checked into 6.7
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.