i_video: fix an if condition in my previous commit

`else if (f == 'w')` doesn't really secure itself against
uninitialized memory, it still needs to test that `s == 3`.