lavc/mjpegdec: consume SOS data even if the frame is discarded