lavc/cbs: Add JPEG support