lwinput: Use AVCodecContext.{width, height} instead of AVFrame.{width|height} for output.